Motor Shield Adafruit and Leonardo
Moderators: adafruit_support_bill, adafruit

Motor Shield Adafruit and Leonardo

by Kriscox on 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

by adafruit_support_bill on 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: 29715
Joined: Sat Feb 07, 2009 9:11 am

Re: Motor Shield Adafruit and Leonardo

by Kriscox on 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

by daremick on 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