Small Changes

This commit is contained in:
2022-09-04 16:51:59 +02:00
parent 6405418f42
commit 5f6544e939
4 changed files with 14 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ class ProjectorSerial(SerialDevice):
def send_command(self, command: str, device_id: str = "ZZ") -> str:
assert device_id in ["01", "02", "03", "04", "05", "06", "ZZ"]
full_command = f"\x02AD{device_id};{command}\x03"
full_command = f"{STX}AD{device_id};{command}{ETX}"
return super().send_command(full_command)