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

You should open CMD or PowerShell if you use Windows system

Now type in command prompt:

python3 encoder.py -d ./example/payload.txt -i ./example/example.ino

Open Arduino IDE && Load program to your ATmega32u4

Arduino open window

Press Ctrl+O and choose example/example.ino

Now choose Arduino Leonardo

Choose port

Finally press Ctrl+U

Last updated