#make ; make upload ; make clean # use a .ino file with your project o # it will be converted to a cpp file by prepending #include #to connect from computer to transferd commands/data do: #http://playground.arduino.cc/Interfacing/LinuxTTY #stty -a < /dev/ttyACM0 # cu -l /dev/ttyACM0 -s 9600 #from host communication see: http://todbot.com/blog/2006/12/06/arduino-serial-c-code-to-talk-to-arduino/ ARDUINO_DIR = /usr/share/arduino/ BOARD_TAG = uno ARDUINO_PORT = /dev/ttyACM0 MCU=atmega328p #for due #MCU=sam3x ARDUINO_LIBS = Ethernet Ethernet/utility SPI AVR_TOOLS_PATH = /usr/bin/ AVRDUDE_CONF = /etc/avrdude.conf PARSE_BOARD = /usr/share/arduino/ard-parse-boards --boards_txt=$(ARDUINO_DIR)/hardware/arduino/boards.txt include /usr/share/arduino/Arduino.mk