RichardFerraro
Well-known member
I am simultaneously developing for Leonardo (forced into this by hardware) and Teensy 3.1 (love it).
The TimerOne library is located in c:\arduino\hardware\teensy\avr\libraries\TimerOne\
I have to move this library to
c:\arduino\libraries\TimerOne
for the Leonardo code to find it; however,
this location causes TeensyDuino to not compile for the Teensy 3.1.
If I keep TimerOne library in c:\arduino\hardware\teensy\avr\libraries\TimerOne\
and point to it specifically in the Leonardo code
#include <c:\arduino\hardware\teensy\avr\libraries\TimerOne\TimerOne.h>
I get undefined references (e.g., TimerOne::clockSelectBits)
How should I handle this so that both the Leonardo code and the Teensy code both compile?
thanks
Richard
The TimerOne library is located in c:\arduino\hardware\teensy\avr\libraries\TimerOne\
I have to move this library to
c:\arduino\libraries\TimerOne
for the Leonardo code to find it; however,
this location causes TeensyDuino to not compile for the Teensy 3.1.
If I keep TimerOne library in c:\arduino\hardware\teensy\avr\libraries\TimerOne\
and point to it specifically in the Leonardo code
#include <c:\arduino\hardware\teensy\avr\libraries\TimerOne\TimerOne.h>
I get undefined references (e.g., TimerOne::clockSelectBits)
How should I handle this so that both the Leonardo code and the Teensy code both compile?
thanks
Richard