First steps
How it works
First, let's figure out how this program works. This script converts code from the Ducky Scritp language into code that is understandable to the Arduino compiler.
Run the example
Firstly open the Terminal in current direcroty
Now type in command prompt:
python3 encoder.py -d ./example/payload.txt -i ./example/example.ino
Use python
in Windows
python encoder.py -d ./example/payload.txt -i ./example/example.ino
Open Arduino IDE && Load program to your ATmega32u4

Press Ctrl+O
and choose example/example.ino
Now choose Arduino Leonardo

Choose port

Finally press Ctrl+U
Last updated