Class Pin of FT232H returns NotImplementedError if pull is not None, now.
Constants PULL_NONE, PULL_UP and PULL_DOWN are defined, now.
+ PULL_NONE = 0
+ PULL_UP = 1
+ PULL_DOWN = 2
raise RuntimeError("Can not init a None type pin.")
# FT232H does't have configurable internal pulls?
if pull:
raise RuntimeError("Can not init a None type pin.")
# FT232H does't have configurable internal pulls?
if pull:
- raise ValueError("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:
pin_mask = Pin.ft232h_gpio.pins | 1 << self.id
current = Pin.ft232h_gpio.direction
if mode == self.OUT: