I'm am trying to connect a teensy 3.1 to the v2 motor shield, and run the stepper test program I get
Arduino: 1.0.5 (Windows NT (unknown)), Board: "Teensy 3.1"
\Flora\windows\libraries\Adafruit_Motor_Shield_V2_Library\Adafruit_MotorShield.cpp: In member function 'void Adafruit_MotorShield::begin(uint16_t)':
\Flora\windows\libraries\Adafruit_Motor_Shield_V2_Library\Adafruit_MotorShield.cpp:47:3: error: 'Wire1' was not declared in this scope
Any thoughts?
Teensy 3.1 and Motor Shield software
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Teensy 3.1 and Motor Shield software
The Teensy-3.1 is an ARM platform, as opposed to the AVR architecture used for most Arduinos.
The Wire library is written for the I2C hardware built into AVR microcontrollers, so you won't have one of those among the libraries that provide hardware support for the Teensy.
This thread in the PJRC forum has an I2C library for the Teensy: http://forum.pjrc.com/threads/21680-New ... or-Teensy3
The Wire library is written for the I2C hardware built into AVR microcontrollers, so you won't have one of those among the libraries that provide hardware support for the Teensy.
This thread in the PJRC forum has an I2C library for the Teensy: http://forum.pjrc.com/threads/21680-New ... or-Teensy3
Please be positive and constructive with your questions and comments.