summaryrefslogtreecommitdiff
path: root/slot/views.py
diff options
context:
space:
mode:
authorCruiseDevice2018-02-20 14:47:29 +0530
committerCruiseDevice2018-02-20 14:47:29 +0530
commit8b6d2aa74083451255bbb259b5d437fafe9bcd36 (patch)
treeb5de105739edcf1f9f0b8417e4f7621f227bf429 /slot/views.py
parentbeaabf6c392031c8abe9a835da4c7d5ca7d5fb2d (diff)
downloadSBHS-2018-Rpi-8b6d2aa74083451255bbb259b5d437fafe9bcd36.tar.gz
SBHS-2018-Rpi-8b6d2aa74083451255bbb259b5d437fafe9bcd36.tar.bz2
SBHS-2018-Rpi-8b6d2aa74083451255bbb259b5d437fafe9bcd36.zip
change ttyACM0 -> ttyUSB0HEADmaster
Diffstat (limited to 'slot/views.py')
-rw-r--r--slot/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slot/views.py b/slot/views.py
index 359a147..badd0ce 100644
--- a/slot/views.py
+++ b/slot/views.py
@@ -5,7 +5,7 @@ from sbhs_server.tables.models import Account, Slot, Booking, Board
import datetime
import serial
# ser.close()
-ser = serial.Serial('/dev/ttyACM0')
+ser = serial.Serial('/dev/ttyUSB0')
LIMIT = 2