Greetings,
I have code that runs great on versions 6,7,9 but will not compile on 10.
I get the following errors:
error: 'OCR2' was not declared in this scope In function 'void x_sound_setup_timer()':
error: 'TCCR2' was not declared in this scope In function 'void x_servo_setup_timer()':
error: 'TIMSK' was not declared in this scope In function 'void __vector_9()':
It seems that the library for timers was taken out in version 10
Never Mind
Of course after working on the problem for weeks I found the solution 30 min after posting on the forum.
Version 0010 was compiling for a mega168 and I have a mega8
It seems that with the added timer functionality that
mega8 mega168
OCR2 becomes OCR2A
TCCR2 becomes TCCR2A
TIMSK becomes TIMSK1
I am curious about the restructuring of all the directories in the loadpoint. Is there a guide to this?