Teensy 3.1 and Motor Shield software

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
borgborg
 
Posts: 49
Joined: Sat May 24, 2014 1:49 pm

Teensy 3.1 and Motor Shield software

Post by borgborg »

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?

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Teensy 3.1 and Motor Shield software

Post by adafruit_support_mike »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”