summaryrefslogtreecommitdiffstats
path: root/jds6600/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'jds6600/control.py')
-rw-r--r--jds6600/control.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/jds6600/control.py b/jds6600/control.py
deleted file mode 100644
index bf7b427..0000000
--- a/jds6600/control.py
+++ /dev/null
@@ -1,8 +0,0 @@
-class OpCode:
- ONOFF = "w20"
-
-def sendCommand(opcode, args):
- with open("/dev/ttyUSB0", "w") as tty:
- print(f":{opcode}={args}.", end="\r\n", file=tty)
-
-sendCommand(OpCode.ONOFF, "1,0")