flasharduino.sh 266 B

1234567
  1. #!/bin/sh
  2. PORT=/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0
  3. BAUD=57600
  4. python3 ./controlarduino.py --reset 1000
  5. avrdude -patmega328p -carduino -P$PORT -b$BAUD -D -Uflash:w:$1:i
  6. python3 ./controlarduino.py --monitor --addts