Mercurial > code > home > repos > homeauto
changeset 13:33e6678d76ab
port change
Ignore-this: a352c3538b6fe208a4155895ee3bfc3c
author | drewp@bigasterisk.com |
---|---|
date | Sat, 03 Dec 2011 18:58:42 -0800 |
parents | 3d26993558e8 |
children | 875c973febe9 |
files | service/garageArduino/garageArduino.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/service/garageArduino/garageArduino.py Sat Dec 03 18:45:39 2011 -0800 +++ b/service/garageArduino/garageArduino.py Sat Dec 03 18:58:42 2011 -0800 @@ -234,7 +234,7 @@ if __name__ == '__main__': config = { # to be read from a file - 'arduinoPort': '/dev/ttyACM0', + 'arduinoPort': '/dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Uno_6493534323335161A2F1-if00', 'servePort' : 9050, 'pollFrequency' : 5, 'boardName' : 'garage', # gets sent with updates @@ -245,7 +245,7 @@ log.setLevel(logging.DEBUG) - ard = ArduinoGarage() + ard = ArduinoGarage(port=config['arduinoPort']) period = 1/config['pollFrequency'] p = Poller(ard, period)