summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-02-08 11:14:23 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-02-08 11:14:23 +0300
commit181f7d145002731e5baec0f2c43ac57818447f8b (patch)
tree85ac35d44c58eb18b0b394755c31a97d8707b974 /py/mpconfig.h
parent7ae9bee7905601a827f3d216300f917afbacf07e (diff)
downloadmicropython-181f7d145002731e5baec0f2c43ac57818447f8b.tar.gz
micropython-181f7d145002731e5baec0f2c43ac57818447f8b.zip
extmod/machine_signal: Implement Signal .on() and .off() methods.
Each method asserts and deasserts signal respectively. They are equivalent to .value(1) and .value(0) but conceptually simpler (and may help to avoid confusion with inverted signals, where "asserted" state means logical 0 output).
Diffstat (limited to 'py/mpconfig.h')
0 files changed, 0 insertions, 0 deletions