def open_serial(self): self.ser = serial.Serial(self.serial_port, self.baud) self.ser.write(binascii.unhexlify(DEFAULT_INTENSITY)) a.start_animation(self) self.p_listener.start()
def open_serial(self): self.ser = serial.Serial(self.serial_port, self.baud) a.start_animation(self) self.p_listener.start()