mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
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.
This commit is contained in:
committed by
Paul Sokolovsky
parent
209eaec599
commit
61616e84ce
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user