minor build infrastructure fixes

pull/18/head
Jesse Vincent 11 years ago
parent afa5713910
commit b2eae2c551

@ -1,7 +1,7 @@
# Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile # Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile
BOARD_TAG = micro BOARD_TAG = micro
MONITOR_PORT = /dev/cu.usbmodem1411 MONITOR_PORT = /dev/cu.usbmodem14?1
ARDUINO_LIBS = ARDUINO_LIBS =
include build/arduino-mk/Arduino.mk include build/arduino-mk/Arduino.mk

@ -3,8 +3,9 @@
# where <DEVICE> is typically some /dev/ttyfoobar # where <DEVICE> is typically some /dev/ttyfoobar
import sys import sys
import serial import serial
import time
ser = serial.Serial() ser = serial.Serial()
ser.port=sys.argv[2] ser.port=sys.argv[2]
ser.baudrate=1200 ser.baudrate=1200
ser.open(); ser.close() ser.open(); ser.close()
time.sleep(2)

Loading…
Cancel
Save