SerialServoExample by bri_huang

This sketch is missing a short description

Servo Serial

This is a great little example to use the Serial Monitor to control the position of a servo motor. Upload this code to your Arduino and use the Serial monitor to send the desired angle to control.

Hardware connections:

Connect the three wires of the servo motor up to your Arduino.

Red wire --> 5V

Black wire --> GND

White wire --> pin 9 (arduino)

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:73819" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>