diff options
author | Damien George <damien.p.george@gmail.com> | 2017-04-12 13:00:40 +1000 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-04-15 21:01:47 +0300 |
commit | 61616e84ce41e1b1a0fad62704488d79b87cfbe2 (patch) | |
tree | f027bc3c3d532e94331c2e898aff1ba16a8e3466 /examples | |
parent | 209eaec599b8b849dbef45fdb2d8f7138b8b7745 (diff) | |
download | micropython-61616e84ce41e1b1a0fad62704488d79b87cfbe2.tar.gz micropython-61616e84ce41e1b1a0fad62704488d79b87cfbe2.zip |
extmod/machine_signal: Rename "inverted" arg to "invert", it's shorter.
A shorter name takes less code size, less room in scripts and is faster to
type at the REPL.
Tests and HW-API examples are updated to reflect the change.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hwapi/hwconfig_esp8266_esp12.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hwapi/hwconfig_esp8266_esp12.py b/examples/hwapi/hwconfig_esp8266_esp12.py index fb6d5fe907..198a652d0a 100644 --- a/examples/hwapi/hwconfig_esp8266_esp12.py +++ b/examples/hwapi/hwconfig_esp8266_esp12.py @@ -2,4 +2,4 @@ from machine import Pin, Signal # ESP12 module as used by many boards # Blue LED on pin 2, active low (inverted) -LED = Signal(Pin(2, Pin.OUT), inverted=True) +LED = Signal(Pin(2, Pin.OUT), invert=True) |