Go Down

Topic: Arduino 1.5.5 TIMERXX Redefinition's (Read 342 times) previous topic - next topic


While including the <Arduino.h> header in a custom makefile I ran into a string of warnings due to redefinition's occurring in <Arduino.h> and <pins_arduino.h>.

Location of files: (Arduino directory)\hardware\arduino\cores\arduino
-File <Arduino.h>
     Line 166 - 184
     #define NOT_ON_TIMER 0
     #define TIMER0A 1
     #define TIMER5C 17

-File <pins_arduino.h>
     Lines 33-50
     #define NOT_ON_TIMER 0
     #define TIMER5C 16

Arduino version 1.5.5-r2-windows

Is this intentional? Am I including the wrong headers here? Or is this a bug?

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131