Skip to content

Commit

Permalink
Fixed an issue with units
Browse files Browse the repository at this point in the history
  • Loading branch information
nebrius authored and rwaldron committed Nov 16, 2018
1 parent c110014 commit dd0819f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Data writing operations must be executed in order of instruction.

#### servoWrite(pin, value)

- Accept a `value` that is written to the specified `pin`. If the value is between 0 and 180, it is assumed to be a servo arm position in degrees. If the value is between 180 and 544, it is also assumed to be in degrees and is truncated to 180. If the value is greater than or equal to 544, it is assumed to be a duty cycle in nanoseconds.
- Accept a `value` that is written to the specified `pin`. If the value is between 0 and 180, it is assumed to be a servo arm position in degrees. If the value is between 180 and 544, it is also assumed to be in degrees and is truncated to 180. If the value is greater than or equal to 544, it is assumed to be a duty cycle in microseconds.

### Reading

Expand Down

0 comments on commit dd0819f

Please sign in to comment.