Hello guys!
I'm making this "buzzing-mindfulness-bracelet" Beky Stern project with my GEMMA V2, but when I upload the code with ARDUINO IDE, I get these errors:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c: In function 'attachInterrupt':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:198:8: warning: #warning attachInterrupt may need some more work for this cpu (case 1) [-Wcpp]
#warning attachInterrupt may need some more work for this cpu (case 1)
^~~~~~~
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c: In function 'detachInterrupt':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:312:8: warning: #warning detachInterrupt may need some more work for this cpu (case 1) [-Wcpp]
#warning detachInterrupt may need some more work for this cpu (case 1)
^~~~~~~
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:29:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c: In function 'INT1_vect':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:373:15: warning: 'INT1_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
IMPLEMENT_ISR(INT1_vect, EXTERNAL_INT_1)
^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:373:1: note: in expansion of macro 'IMPLEMENT_ISR'
IMPLEMENT_ISR(INT1_vect, EXTERNAL_INT_1)
^~~~~~~~~~~~~
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp:37:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp: In function 'void TIMER2_COMPA_vect()':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp:538:5: warning: 'TIMER2_COMPA_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
ISR(TIMER2_COMPA_vect)
^
Sketch uses 942 bytes (17%) of program storage space. Maximum is 5310 bytes.
Global variables use 18 bytes of dynamic memory.
Anyone know how to help me?
My board works fine with other codes, so I don't think a connection problem with the computer.
In fact if I change the code, it loads it fine. It can be a code error?
Thanks a lot!!
Project link and code: https://learn.adafruit.com/buzzing-mind ... celet/code