diff options
author | Eddy Pedroni <eddy@0xf7.com> | 2022-05-24 10:59:47 +0200 |
---|---|---|
committer | Eddy Pedroni <eddy@0xf7.com> | 2022-05-24 10:59:47 +0200 |
commit | ba53e148812b73c540752c5e7654e48829eacd06 (patch) | |
tree | ea3ac5f8305a87004aeecce151c2ed4b4d1b675b /jds6600 | |
parent | e564772b92a1542e84679212528fb0129248e497 (diff) |
Restructured repo, updated documentation
Diffstat (limited to 'jds6600')
-rw-r--r-- | jds6600/JT-JDS6600-Communication-protocol.pdf | bin | 227870 -> 0 bytes | |||
-rw-r--r-- | jds6600/all-off.bin | 1 | ||||
-rw-r--r-- | jds6600/all-on.bin | 1 | ||||
-rw-r--r-- | jds6600/control.py | 8 | ||||
-rwxr-xr-x | jds6600/stty-config | 3 |
5 files changed, 0 insertions, 13 deletions
diff --git a/jds6600/JT-JDS6600-Communication-protocol.pdf b/jds6600/JT-JDS6600-Communication-protocol.pdf Binary files differdeleted file mode 100644 index f999813..0000000 --- a/jds6600/JT-JDS6600-Communication-protocol.pdf +++ /dev/null diff --git a/jds6600/all-off.bin b/jds6600/all-off.bin deleted file mode 100644 index f04d91b..0000000 --- a/jds6600/all-off.bin +++ /dev/null @@ -1 +0,0 @@ -:w20=0,0.
diff --git a/jds6600/all-on.bin b/jds6600/all-on.bin deleted file mode 100644 index 55e9577..0000000 --- a/jds6600/all-on.bin +++ /dev/null @@ -1 +0,0 @@ -:w20=1,1.
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") diff --git a/jds6600/stty-config b/jds6600/stty-config deleted file mode 100755 index 4217c48..0000000 --- a/jds6600/stty-config +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/zsh - -stty -F /dev/ttyUSB0 speed 115200 cs8 -cstopb -parenb -echo |