Skip to content

Commit

Permalink
Merge pull request #6 from MajorBreakfast/patch-1
Browse files Browse the repository at this point in the history
Fix for pinMode() in README
  • Loading branch information
eugeneware committed Jun 30, 2014
2 parents b954f6e + 4458f4c commit 48f06b2
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 @@ -94,7 +94,7 @@ wpi.pinMode(0, wpi.modes.OUTPUT);
```

- `pin`: pin number
- `mode`: `wpi.INPUT`, `wpi.OUTPUT`, `wpi.PWM_OUTPUT` or `wpi.GPIO_CLOCK`
- `mode`: `wpi.modes.INPUT`, `wpi.modes.OUTPUT`, `wpi.modes.PWM_OUTPUT` or `wpi.modes.GPIO_CLOCK`

### `wpi.pullUpDnControl(pin, pud)`

Expand Down

0 comments on commit 48f06b2

Please sign in to comment.