def switch_to_output(self, value=False, drive_mode=DriveMode.PUSH_PULL):
         self._pin = machine.Pin(0, machine.Pin.IN, machine.Pin.PULL_UP)
         pass
     def switch_to_output(self, value=False, drive_mode=DriveMode.PUSH_PULL):
         self._pin = machine.Pin(0, machine.Pin.IN, machine.Pin.PULL_UP)
         pass