added runningAverage for pressure
[Arduino] / wlan_si / Makefile
index b1b4134..f4a7822 100644 (file)
@@ -1,10 +1,13 @@
-all:
-       echo "flash serial"
+#ARDUINO_DIR=/opt/arduino
+ARDUINO_SKETCHBOOK = ../
+
+BOARD_TAG    = pro5v328
+include /usr/share/arduino/Arduino.mk
 
 pi=10.60.1.201
 
 flash:
-       scp `ls -t /tmp/build*.tmp/*.hex | head -1` pi@${pi}:/tmp/arduino.hex
+       scp `ls -t build-*/*.hex | head -1` pi@${pi}:/tmp/arduino.hex
        ssh pi@${pi} sudo avrdude -c linuxgpio -p atmega328p -U flash:w:/tmp/arduino.hex
 
 serial: