Initial commit

This commit is contained in:
Eddy de Vink 2026-07-11 00:31:05 +02:00
commit 126c6a93d8
8 changed files with 166 additions and 0 deletions

3
relay Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
[ $# -ne 1 ] || [ "$1" != "0" -a "$1" != "1" ] && { echo "Usage: relay 0|1"; exit 1; }
python3 -c "import serial; s=serial.Serial('/dev/cu.usbserial-2110',115200,timeout=2); s.write(b'$1'); print(s.read(10).decode())"