21. Lektion: Pin'sAus Attraktor WikiVersion vom 15. August 2023, 15:34 Uhr von Kapest (Diskussion | Beiträge)
>>> import machine >>> dir(machine.Pin) ['__class__', '__name__', 'value', '__bases__', '__dict__', 'IN', 'IRQ_FALLING', 'IRQ_RISING', 'OPEN_DRAIN', 'OUT', 'PULL_DOWN', 'PULL_HOLD', 'PULL_UP', 'WAKE_HIGH', 'WAKE_LOW', 'init', 'irq', 'off', 'on']
machine.Pin(id, mode=- 1, pull=- 1, *, value=None, drive=0, alt=- 1)
p0 = Pin(0, Pin.OUT)
|