Lines Matching refs:OUT
53 Pin("GP17", Pin.OUT, value=1)
55 Pin("GP17", Pin.OUT, value=0)
90 pin = Pin(pin_map[0], mode=Pin.OUT)
94 pin = Pin(pin_map[0], mode=Pin.OUT, pull=Pin.PULL_DOWN)
95 pin = Pin(pin_map[0], mode=Pin.OUT, pull=None)
96 pin = Pin(pin_map[0], mode=Pin.OUT, pull=Pin.PULL_UP)
97 pin = Pin(pin_map[0], mode=Pin.OUT, pull=Pin.PULL_UP, drive=pin.LOW_POWER)
98 pin = Pin(pin_map[0], mode=Pin.OUT, pull=Pin.PULL_UP, drive=pin.MED_POWER)
99 pin = Pin(pin_map[0], mode=Pin.OUT, pull=Pin.PULL_UP, drive=pin.HIGH_POWER)
100 pin = Pin(pin_map[0], mode=Pin.OUT, drive=pin.LOW_POWER)
101 pin = Pin(pin_map[0], Pin.OUT, Pin.PULL_DOWN)
112 pin.init(mode=Pin.OUT, pull=Pin.PULL_UP, drive=pin.LOW_POWER)
114 pin.init(mode=Pin.OUT, pull=Pin.PULL_UP, drive=pin.HIGH_POWER)
118 pin = Pin(pin_map[0], mode=Pin.OUT)
135 pin = Pin(pin_map[0], mode=Pin.OUT)
137 print(pin.mode() == Pin.OUT)
155 pin = Pin(pin_map[0], mode=Pin.OUT, pull=Pin.PULL_UP, drive=pin.IN) # incorrect drive value
170 pin = Pin("A0", Pin.OUT, Pin.PULL_DOWN) # incorrect pin id
180 pin = Pin(pin_map[0], Pin.OUT, Pin.PULL_UP, alt=7) # af specified in GPIO mode
205 pin.pull(Pin.OUT) # incorrect pull