diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-02-08 11:14:23 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-02-08 11:14:23 +0300 |
commit | 181f7d145002731e5baec0f2c43ac57818447f8b (patch) | |
tree | 85ac35d44c58eb18b0b394755c31a97d8707b974 /py/mpconfig.h | |
parent | 7ae9bee7905601a827f3d216300f917afbacf07e (diff) | |
download | micropython-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