Motor Shield Adafruit and Leonardo

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

Moderators: adafruit_support_bill, adafruit

Motor Shield Adafruit and Leonardo

Postby Kriscox » Sat Dec 29, 2012 2:30 pm

I have an error when i compile the library AFMotor.H
It's doesn't work.

What's is the problem ?
Kriscox
 
Posts: 2
Joined: Sat Dec 29, 2012 2:26 pm

Re: Motor Shield Adafruit and Leonardo

Postby adafruit_support_bill » Sat Dec 29, 2012 2:49 pm

Under the hood, the Leonardo is quite different from the classic Arduinos. Although it has similar pinouts, the port/pin mappings and timers are all different. This makes it incompatible with any Arduino library that uses timers or port-level I/O.
As it says in the product description:
It is probably not going to work with nearly any shields other than the proto shield.
User avatar
adafruit_support_bill
 
Posts: 15991
Joined: Sat Feb 07, 2009 9:11 am

Re: Motor Shield Adafruit and Leonardo

Postby Kriscox » Sat Dec 29, 2012 5:19 pm

Thanks for your answer. I change my leonardo for one uno
Kriscox
 
Posts: 2
Joined: Sat Dec 29, 2012 2:26 pm

Re: Motor Shield Adafruit and Leonardo

Postby daremick » Fri Jan 04, 2013 8:15 pm

Kriscox wrote:I have an error when i compile the library AFMotor.H
It's doesn't work.

What's is the problem ?



http://arduino.cc/forum/index.php/topic,140631.0.html
daremick
 
Posts: 25
Joined: Wed Sep 26, 2012 9:17 pm


Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: No registered users and 8 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]