Hello DigiSpark community,
I currently found some time to begin to play with my DigiSpark and Digispark Pro received some months ago ;-)
After searching on this forum I haven't found any similar problem.
So here it is :
I've tried the DigisparkRGB example on a Digispark, and it's OK.
But when trying to compile for a DigiSpark Pro (after changing the board type to "Digispark Pro" ;-) ), I got the following error :
C:\Program Files (x86)\Digistump_Arduino\hardware\digistump\avr\libraries\DigisparkRGB\DigisparkRGB.cpp: In function 'void DigisparkRGBBegin()':
C:\Program Files (x86)\Digistump_Arduino\hardware\digistump\avr\libraries\DigisparkRGB\DigisparkRGB.cpp:41:3: error: 'TIFR' was not declared in this scope
TIFR = (1 << TOV0); // clear interrupt flag
^
C:\Program Files (x86)\Digistump_Arduino\hardware\digistump\avr\libraries\DigisparkRGB\DigisparkRGB.cpp:42:3: error: 'TIMSK' was not declared in this scope
TIMSK = (1 << TOIE0); // enable overflow interrupt
^
Error while compiling.
I can precise that the most simple example "Blink" can be compile for both cards.
And it's OK to for the quick example on the Wiki page :
http://digistump.com/wiki/digispark/tutorials/rgbWhat could be the problem ?