Kegbot / kegboard

Kegbot's Arduino Kegerator controller, a flexible multi-function board. Firmware, schematics, Python library. Flow sensing, DS1820 temperature sensing, relay control, ID-12 RFID, and buzzer support.
http://kegbot.org/kegboard
GNU General Public License v2.0
57 stars 43 forks source link

'PCMSK1' was not declared in this scope #18

Open mikecole20 opened 7 years ago

mikecole20 commented 7 years ago

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 commented 7 years ago

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 commented 11 months ago

what the ... ???