Pages: [1]   Go Down
Author Topic: Arduino MotorShield Programming  (Read 961 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey, I recently bought an Adafruit Motor Shield 1.1 for my Arduino UNO. Lately, I've been trying to program it but it hasn't been working(because of serial port). However, I want to make sure that I have a very simple program that properly lets a motor spin forward. That's it. Because of so many different types of motor shield programs, its confusing to figure out which one works. So, if it isn't any trouble, can anyone send me a sample sketch for an Adafruit Motor Shield 1.1 that turns on 1 DC motor?
Logged

Austin, TX
Offline Offline
God Member
*****
Karma: 12
Posts: 524
carpe diem
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is one of the examples from the Adafruit Motor Shield Library:
https://github.com/adafruit/Adafruit-Motor-Shield-library/blob/master/examples/MotorTest/MotorTest.pde

You will need to download and install the Adafruit Motor Shield Library:
https://github.com/adafruit/Adafruit-Motor-Shield-library

I have used this example with my Motor Shield and it works as advertised.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is the installation for the 1.1 version?
Logged

Pages: [1]   Go Up
Jump to: