Exemplo n.º 1
0
 def EIGHT_OFF(self):
     self.setEnabled_False()
     self.DBA = Modbus5_crc(int(self.lineEdit.text()), 0x07, 0x00)
     #time.sleep(0.1)
     #time.sleep(0.2)
     self.startTimer()
     self.send_data()
Exemplo n.º 2
0
 def SEVEN_ON(self):
     self.setEnabled_False()
     self.DBA = Modbus5_crc(int(self.lineEdit.text()), 0x06, 0xFF)
     #time.sleep(0.1)
     #time.sleep(0.2)
     self.startTimer()
     self.send_data()