--- a/CircuitPython/digitalio.py Wed Aug 28 19:53:19 2019 +0200 +++ b/CircuitPython/digitalio.py Thu Aug 29 19:05:05 2019 +0200 @@ -12,6 +12,11 @@ OPEN_DRAIN = 0 class DigitalInOut(): + direction = 0 + value = 0 + drive_mode = 0 + pull = 0 + def __init__(self, pin): pass @@ -23,22 +28,6 @@ def switch_to_input(self, pull=None): pass - - @property - def direction(self): - pass - - @property - def value(self): - pass - - @property - def drive_mode(self): - pass - - @property - def pull(self): - pass class Pull(): UP = 0