File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,8 +140,6 @@ def _readback(self):
140140 try :
141141 if self .isConnected () and self ._serialPort .in_waiting > 0 :
142142 statusbit = int .from_bytes (self ._serialPort .read (1 ), byteorder = 'big' )
143- print ("status bit received" )
144- print (statusbit )
145143 if statusbit == Statusbit .Idle .value :
146144 self ._deviceRunning = False
147145 if self .idleCallback is not None :
@@ -215,10 +213,7 @@ def _readback(self):
215213 self ._allPins [pinId ].inputLevel = 1 if (allPins & (1 << pinId )) else 0
216214
217215 elif statusbit == Statusbit .FirmwareUpdateStatus .value :
218- print ("firmware update status bit received" )
219216 byte = int .from_bytes (self ._serialPort .read (1 ), 'big' )
220- print ("byte 2:" )
221- print (byte )
222217 isMicrocontroller : bool = (byte & 8 ) == 1
223218 status : int = byte & 0x7f
224219
You can’t perform that action at this time.
0 commit comments