Hi.
I just bought a watchX H-kit. I assembled the watch as in the manual. The first time I attached the battery, it said "Plug your watchX to your PC… (Nothing worked in the watch, only this text shown)
So I plugged in and I tried to upload watchX.ino.
Some examples are working (blink and buzzers are fine but the most of it not working)
The oled display not working anymore at all…
I’m using IDE 1.8.42 (I tried older ones as well)
Board and Port okay.
error code:
sketch\pwrmgr.c:13:26: warning: extra tokens at end of #undef directive
#undef sleep_bod_disable()
^
\NWatch-master\watchX\watchX.ino:7:16: warning: extra tokens at end of #undef directive
#undef millis()
^
\AppData\Local\Temp\ccT37AJW.ltrans0.ltrans.o: In function `oled_flush’:
sketch/oled.c:108: undefined reference to `spi_transfer_nr’
sketch/oled.c:109: undefined reference to `spi_transfer_nr’
sketch/oled.c:110: undefined reference to `spi_transfer_nr’
sketch/oled.c:112: undefined reference to `spi_transfer_nr’
sketch/oled.c:113: undefined reference to `spi_transfer_nr’
C:\Users\AppData\Local\Temp\ccT37AJW.ltrans0.ltrans.o:sketch/oled.c:114: more undefined references to `spi_transfer_nr’ follow
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Leonardo.
DO you have any idea what I’m doing wrong?
Thank you in advance