Convert arduino uno in "rubber ducky"
Forked from: https://github.com/Lacerda53/duckduino
Changes: ready to use at devices with Latin American/Spain keyboard distribution
sudo ./script.shWhen guided script indicates, upload /ArduinoUNO_HID/Duckduino/Duckduino.ino file on arduino uno card, changing setup() function by anyone you want
In addition, the script refers to "two pins", these are marked below. You should note that they must be bridged together:
apt-get install dfu-programmerpacman -S dfu-programmerdnf install dfu-programmerbrew install dfu-programmersudo dfu-programmer atmega16u2 erase
sudo dfu-programmer atmega16u2 flash Arduino-usbserial-uno.hex
sudo dfu-programmer atmega16u2 resetWhen loading your script, the arduino IDE may show the following error:
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission deniedTo solve it, you just have to give read and write permissions to that device
sudo chmod a+rw /dev/ttyACM0