Skip to content

Commit

Permalink
Add installation, remove old file
Browse files Browse the repository at this point in the history
  • Loading branch information
ElizabethTeaches committed Aug 21, 2018
1 parent 0948754 commit 9a0e265
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 162 deletions.
162 changes: 0 additions & 162 deletions PrecisionServo/ServoManagerold.cpp.txt

This file was deleted.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ void loop() {
}
```

## Installation

Download the source (clone/download button or go to releases). Extract the zip anywhere, copy the "PrecisionServo" folder into "Documents/Arduino/libraries" such that "Documents/Arduino/libraries/PrecisionServo/PrecisionServo.h" is a file.

## Usage explained

The servo manager should be setup with the number of unique servos on the circuit first, with `ServoManager::setup`. Then, create each servo one at a time by calling `ServoManager::createServo` with the corresponding pin. The returned servo is ready to go, however you might want to change the setting (see Settings below) using `PrecisionServo->setSetting`. Every servo may have its own setting.
Expand Down

0 comments on commit 9a0e265

Please sign in to comment.