issues
search
winnermicro
/
micropython
MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
https://micropython.org
MIT License
9
stars
2
forks
source link
machine.pin.c: Some modifications to the Pin module
#8
Closed
robert-hh1
closed
4 years ago
robert-hh1
commented
4 years ago
proper treatment of the keyword arguments
default for mode (Pin.IN) and pull (pin.PULL_FLOATING)
allow to set the value w/o a need to set the pull
add the Pin.on() and Pin.off() methods for compatibility, even if I consider them obsolete and misleading