Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'PCMSK1' was not declared in this scope #18

Open
mikecole20 opened this issue Apr 13, 2017 · 2 comments
Open

'PCMSK1' was not declared in this scope #18

mikecole20 opened this issue Apr 13, 2017 · 2 comments

Comments

@mikecole20
Copy link

mikecole20 commented Apr 13, 2017

I'm trying to get this running on an Arduino Micro, but I get an error when trying to Verify.

Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Micro"

Build options changed, rebuilding all
PCInterrupt.cpp:42: error: 'PCMSK1' was not declared in this scope

   &PCMSK1,

    ^

PCInterrupt.cpp:43: error: 'PCMSK2' was not declared in this scope

   &PCMSK2

    ^

exit status 1
'PCMSK1' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

However, if I set the board to another option (Uno for example), it verifies properly.

Screenshot

image

@patfreeman
Copy link

I recently updated my Arduino IDE and ran into the same problem. After some trial and error I found a workaround:

Tools -> Board -> Boards Manager
Click Arduino AVR Boards
Select version 1.6.11 or less
Click Install

@phil123456
Copy link

what the ... ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants