Hi there.
I am building the LED matrix Space Invader pendant and can't figure out where or how to get the avr/sleep.h and avr/power.h files? Are they built in. I must be looking for the wrong thing, not sure. The code is not compiling and neither of those .h files change color to indicate their presence.
Here is the error I get:
spaceInvader.ino: In function 'void setup()':
spaceInvader:48: error: 'PCMSK' was not declared in this scope
spaceInvader.ino: In function 'void loop()':
spaceInvader:73: error: 'GIMSK' was not declared in this scope
spaceInvader:73: error: 'PCIE' was not declared in this scope
spaceInvader:83: error: 'power_usi_enable' was not declared in this scope
Do I need to copy them from the avr library code to a tab, and change the name to avr_sleep.h for instance? That seems crazy complicated for me not to find any info on this on the web...
Thanks for any help. I am guessing I am missing something obvious here.
John
LED matrix pendant required libraries
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: LED matrix pendant required libraries
Those are core libraries and are part of the Arduino IDE install. Make sure you have the correct board selected in tools menu, that looks like the errors you get when you don't.
- mini39
- Posts: 32
- Joined: Fri Mar 18, 2011 9:46 am
Re: LED matrix pendant required libraries
Thank you, I figured that out about five minutes after I sent my question. Kind of a duh.
I appreciate your time.
John
I appreciate your time.
John
- charlietakethetrench
- Posts: 1
- Joined: Wed Jun 08, 2016 9:27 am
Re: LED matrix pendant required libraries
thanks for asking the question, saved my butt as a complete arduino noob lol
Please be positive and constructive with your questions and comments.