script to encode a payload

This commit is contained in:
2026-08-31 18:44:20 +02:00
parent 802915ee31
commit 6d08dd1678
4 changed files with 75 additions and 17 deletions
+6
View File
@@ -9,4 +9,10 @@ cat payload.duck | python encoder.py -p -l fr > payload.bin
python3 duck2spark.py -i payload.bin -l 1 -f 1000 -o payload.ino
rm payload.bin
```
Or with the script (replace payload with the name of the payload and fr with the layout):
```bash
./encode.sh payload fr
```
Then flash your Digispark Attiny85 using arduino IDE.