Skip to content

Commit

Permalink
Added TIP-120 pin constants
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbeckler committed Jun 1, 2016
1 parent 6cd2f72 commit c6c392b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions API.md
Expand Up @@ -72,3 +72,10 @@ Write a HIGH or a LOW value to a digital pin. If `pin` is 64 or greater, write t
#### `static void BricktronicsShield::digitalRead(uint8_t pin)`
Reads the value from a specified digital pin. If `pin` is 64 or greater, read from pin `(pin - 64)` on MCP23017 chip, otherwise call the default [Arduino digitalRead function](https://www.arduino.cc/en/Reference/DigitalRead). Returns either `HIGH` or `LOW`.
# Enumerations and constants
#### TIP-120 pin constants
* `BS_TIP_0` - Drives the TIP-120 connected to header EXT1
* `BS_TIP_1` - Drives the TIP-120 connected to header EXT2

0 comments on commit c6c392b

Please sign in to comment.