changeset 21:65be58857ed4

Move to onboard UART.
author Daniel O'Connor <darius@dons.net.au>
date Wed, 14 Mar 2018 00:23:52 +1030
parents d4356465dce1
children efe1954da8ca
files vanlogger.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vanlogger.py	Tue Feb 27 16:12:36 2018 +1030
+++ b/vanlogger.py	Wed Mar 14 00:23:52 2018 +1030
@@ -172,7 +172,7 @@
     dbh = sqlite3.connect('/home/pi/vanlogger/log.db')
     cur = dbh.cursor()
     create(cur)
-    s = serial.Serial('/dev/ttyUSB0', 2400, parity='E')
+    s = serial.Serial('/dev/ttyS0', 2400, parity='E')
     s.timeout = 0.2
 
     p = epro.Processor()