Teensyduino code on non-Teensy? (eg. Arduino Uno)

Status
Not open for further replies.

techydude

Member
Hi,
I've written a sketch originally targeting Teensy 2.0 using Teensyduino, and happened to want to program an Arduino Uno with the same sketch today, by setting the board to a Uno instead of Teensy 2.0, & associated USBtty port.

But compiling failed on my use of the 'elapsedmillis' command. I understand this was a command added by Teensyduino (and a wonderful one at that!).

Basically Teensy 2.0 has been my 'development target', but now I want to use "any old" Atmel AVR for production quantities (probably something like a '168, or possibly something from the Tiny family).

Is there a way to use these add-ons to the Arduino on non-Teensy boards?

Thanks,
Anthony
 
Status
Not open for further replies.
Back
Top