Motor Shield Adafruit and Leonardo

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
kriscox
 
Posts: 9
Joined: Sat Dec 29, 2012 3:26 pm

Motor Shield Adafruit and Leonardo

Post by kriscox »

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

What's is the problem ?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield Adafruit and Leonardo

Post by adafruit_support_bill »

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
kriscox
 
Posts: 9
Joined: Sat Dec 29, 2012 3:26 pm

Re: Motor Shield Adafruit and Leonardo

Post by kriscox »

Thanks for your answer. I change my leonardo for one uno

daremick
 
Posts: 25
Joined: Wed Sep 26, 2012 10:17 pm

Re: Motor Shield Adafruit and Leonardo

Post by daremick »

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

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

Return to “Arduino Shields from Adafruit”