'AttachPinChangeInterrupt' was not declared in this scope I am a beginner trying to upload the SimpleExample328.ino sketch on my Arduino Uno. When I verify my sketch however, I run into the error:


  'AttachPinChangeInterrupt' was not declared in this scope.


I would assume the header file PinChangeInt.h is not in the correct location; currently the PinChangeInt folder (that contains PinChangeInt.h) is placed in the Arduino IDE libraries folder, which I believe is the correct location.

Did I place the header file in the wrong location or does this error result from another cause? Thanks :)
You don't have the library installed. To install:


Go to https://github.com/GreyGnome/PinChangeInt  
Click the green Clone or Download button  
Select Download ZIP


The .ZIP file will download to your computer. Take note of the location.


Open up the Arduino IDE
Go to Sketch > Include Library > Add .ZIP library...
Browse to the download location
Select the PinChangeInt ZIP file


Its done! Compile your program and all should work!