19 lines
546 B
Markdown
19 lines
546 B
Markdown
# Digispark Attiny85 payloads
|
|
|
|
Original encoder and duck2spark converter from [MaMe82](https://github.com/mame82) (converted from Python2 to Python3).
|
|
|
|
## Usage:
|
|
(Replace `-l fr` with the target keyboard layout.)
|
|
```bash
|
|
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.
|