Using a servo with the Motor Shield is basically a pass-through. The main points primarily revolve around wiring.
Wiring
- Brown wire should be nearest to the corner of the shield when installed
- Digital pins (orange wire) are D9 and D10 on the arduino
- The row connected (shown above) is D10
- External power is not needed in the shield
Coding
- Use all the same example codes as you would for Servos without the shield.
No comments:
Post a Comment