Some trouble loading the firmware

14 views
Skip to first unread message

Jason

unread,
Nov 27, 2010, 6:53:08 PM11/27/10
to USB-Octomod
Hello,

I'm trying to load the firmware onto the Teensy, but the file is
failing with errors on verification. I'm getting:

USB_Octomod_Teensy_08192010.cpp: In function 'void setup()':
USB_Octomod_Teensy_08192010:35: error: 'PIN_D0' was not declared in
this scope
USB_Octomod_Teensy_08192010.cpp: In function 'void pollAndWrite()':
USB_Octomod_Teensy_08192010:67: error: 'PIN_D0' was not declared in
this scope

I followed the instructions to patch the Arduino program with
Teensyduino, could I be missing something else?

thanks!
Jason

Greg Surges

unread,
Nov 27, 2010, 7:23:15 PM11/27/10
to usb-o...@googlegroups.com
Did you make sure to select the Teensy as the board type?
--
http://www.gregsurges.com

Jason

unread,
Nov 27, 2010, 7:59:39 PM11/27/10
to USB-Octomod
Yup that was it exactly! Didn't even realize I had that option.

thanks!
Jason

Greg Surges

unread,
Nov 27, 2010, 8:04:10 PM11/27/10
to usb-o...@googlegroups.com
Yep, the Teensy has more output ports than the Arduino (I believe), so it uses a different set.
--
http://www.gregsurges.com
Reply all
Reply to author
Forward
0 new messages