3 HOSTNAME=$(shell hostname)
4 ifeq ($(HOSTNAME),jadzia)
5 MONITOR_PORT=/dev/ttyACM3
7 MONITOR_PORT=/dev/ttyACM0
10 # ARDUINO_SKETCHBOOK=~/sketchbook
11 include /usr/share/arduino/Arduino.mk
15 # log is the result of
16 # annotate-output ./log_mhz19.py -d /dev/ttyACM3 | tee -a log
17 # and we want log.csv for plot_mhz19.py
21 sed -i -e '/Started/ d' -e '/Finished/ d ' -e 's/ O: /,/g' $@
22 perl -ni -e 'BEGIN{$$i=0}; print if ($$_ !~ /CO2/ || $$i == 0); $$i++;' $@