示例#1
0
 def to_board(self):
     self._open()
     self.ftdi.set_bitmode(mode=Ftdi.BitMode(0x20), bitmask=0xf0)
     self._close()
示例#2
0
 def to_host(self):
     self._open()
     self.ftdi.set_bitmode(mode=Ftdi.BitMode(0x20), bitmask=0xf1)
     self._close()