Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

Motor shield doesn't work
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Motor shield doesn't work

by void loop on Wed Aug 06, 2008 7:27 pm

I have just assembled a motor shield but it doesn't work. When I added the AFMotor library I got this error message:

In file included from C:\Program Files\arduino-0011\hardware\cores\arduino/WProgram.h:6,
from AFMotor.cpp:2:
c:/program files/arduino-0011/hardware/tools/avr/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."

:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:
void loop
 
Posts: 3
Joined: Wed Aug 06, 2008 7:22 pm

by adafruit on Wed Aug 06, 2008 10:18 pm

thats a warning, not an error. the code should still compile

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

by void loop on Thu Aug 07, 2008 5:22 pm

the code compiles, uploads, ... and dose nothing on any port
the motor is tested and working
void loop
 
Posts: 3
Joined: Wed Aug 06, 2008 7:22 pm

by adafruit on Thu Aug 07, 2008 8:03 pm

try each motor
make sure you have the green LED lit

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

by void loop on Fri Aug 08, 2008 8:59 pm

Thanks for the help. It turns out that it was just a bad solder point. :oops:
All is well now.

:D :D :D :D :D
void loop
 
Posts: 3
Joined: Wed Aug 06, 2008 7:22 pm

Please be positive and constructive with your questions and comments.