Arduino CLI

Makefile
apt-get install arduino-mk avr-gcc avr-libc ARDUINO_DIR = /usr/share/arduino BOARD_TAG   = atmega328 ARDUINO_PORT = /dev/ttyUSB* ARDUINO_LIBS = NewPing OtherLibs include /usr/share/arduino/Arduino.mk ard-parse-boards --boards make            - no upload make upload     - compile and upload make clean      - remove all our dependencies make depends    - update dependencies make reset      - reset the Arduino by tickling DTR on the serial port make raw_upload - upload without first resetting make show_boards - list all the boards defined in boards.txt
 * Install this:
 * Use the arduino from the command line, to compile and upload
 * Choose the BOARD_TAG using this command:
 * Commands