Commits

Anonymous committed 33360f7

writable

Comments (0)

Files changed (1)

domain/devices.py

         return float(self.getData()[0])
 
     def sendData(self, serial_data):
+        is_writable = self.serial.writable
+        logging.debug("is writable: %s" % (is_writable,))
         self.serial.write(str(serial_data))
 
     def getData(self):