LOW = 0
HIGH = 1
PULL_NONE = 0
- PULL_UP = 1
+ PULL_UP = 1
PULL_DOWN = 2
ft232h_gpio = None
raise RuntimeError("Can not init a None type pin.")
# FT232H does't have configurable internal pulls?
if pull:
- raise NotImplementedError("Internal pull up/down not currently supported.")
+ raise NotImplementedError(
+ "Internal pull up/down not currently supported.")
pin_mask = Pin.ft232h_gpio.pins | 1 << self.id
current = Pin.ft232h_gpio.direction
if mode == self.OUT: