This commit is contained in:
@@ -13,7 +13,7 @@ This example makes use of the Arduino `Servo` library.
|
||||
|
||||
## Circuit
|
||||
|
||||
Servo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to the 5V pin on the Arduino or Genuino board. The ground wire is typically black or brown and should be connected to a ground pin on the board. The signal pin is typically yellow or orange and should be connected to pin 9 on the board.
|
||||
Servo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to the 5V pin on the Arduino board. The ground wire is typically black or brown and should be connected to a ground pin on the board. The signal pin is typically yellow or orange and should be connected to pin 9 on the board.
|
||||
|
||||
The potentiometer should be wired so that its two outer pins are connected to power (+5V) and ground, and its middle pin is connected to analog input 0 on the board.
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 11 KiB |
@@ -10,7 +10,7 @@ Sweeps the shaft of a RC [servo motor](http://en.wikipedia.org/wiki/Servo_motor#
|
||||
|
||||
## Circuit
|
||||
|
||||
Servo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to the 5V pin on the Arduino or Genuino board. The ground wire is typically black or brown and should be connected to a ground pin on the board. The signal pin is typically yellow, orange or white and should be connected to pin 9 on the board.
|
||||
Servo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to the 5V pin on the Arduino board. The ground wire is typically black or brown and should be connected to a ground pin on the board. The signal pin is typically yellow, orange or white and should be connected to pin 9 on the board.
|
||||
|
||||

|
||||
|
||||
@@ -26,4 +26,4 @@ Servo motors have three wires: power, ground, and signal. The power wire is typi
|
||||
* [write()](/docs/api.md#write)
|
||||
* [map()](https://www.arduino.cc/en/Reference/Map)
|
||||
* [Servo library reference](/docs/readme.md)
|
||||
* [Knob](../Knob) - Sweep the shaft of a servo motor back and forth
|
||||
* [Knob](../Knob) - Control the position of a servo with a potentiometer
|
||||
|
||||
Reference in New Issue
Block a user