Skip to content

machine.Pin

所属パッケージ

関数

init

machine.Pin.init()

irq

machine.Pin.irq()

off

machine.Pin.off()

on

machine.Pin.on()

value

machine.Pin.value()

定数

IN

machine.Pin.IN = int(1)

IRQ_FALLING

machine.Pin.IRQ_FALLING = int(2)

IRQ_RISING

machine.Pin.IRQ_RISING = int(1)

OPEN_DRAIN

machine.Pin.OPEN_DRAIN = int(7)

OUT

machine.Pin.OUT = int(3)

PULL_DOWN

machine.Pin.PULL_DOWN = int(1)

PULL_HOLD

machine.Pin.PULL_HOLD = int(4)

PULL_UP

machine.Pin.PULL_UP = int(2)

WAKE_HIGH

machine.Pin.WAKE_HIGH = int(5)

WAKE_LOW

machine.Pin.WAKE_LOW = int(4)

__bases__

machine.Pin.__bases__ = tuple((<class 'object'>,))

__name__

machine.Pin.__name__ = str('Pin')