Program Arduino from Linux

First install the arduino IDE to the computer. This gives you a binary called arduino that you can call from CLI.

Then to upload code to a board go to a directory where the sketch is:

~/arduino-1.8.3/arduino --board arduino:avr:uno --upload --port /dev/ard_enc --verbose-upload td1_interface_board.ino
Enter your comment. Wiki syntax is allowed:
  • arduino.txt
  • Last modified: 2019/03/01 20:26
  • (external edit)