Skip to content

Commit

Permalink
Added also pullup in the python readme
Browse files Browse the repository at this point in the history
  • Loading branch information
berndporr committed Oct 23, 2021
1 parent f248ead commit e3be3fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README_py.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ The pin class
The command `get_pin` requests the class of a pin
by specifying a string, composed of
'a' or 'd' (depending on if you need an analog or digital pin), the pin
number, and the mode ('i' for input, 'o' for output, 'p' for pwm). All
seperated by `:`. Eg. `a:0:i` for analog 0 as input or `d:3:p` for
number, and the mode ('i' for input, 'u' for input with pullup, 'o' for output, 'p' for pwm and 's' for servo).
All seperated by `:`. Eg. `a:0:i` for analog 0 as input or `d:3:p` for
digital pin 3 as pwm::

analog_0 = board.get_pin('a:0:i')
Expand Down

0 comments on commit e3be3fb

Please sign in to comment.