Changing Baud to 38400 as that's what my usb port ends up using.
authorPaul Robinson <darkraver@gmail.com>
Tue, 6 Nov 2012 20:10:30 +0000 (20:10 +0000)
committerPaul Robinson <darkraver@gmail.com>
Tue, 6 Nov 2012 20:10:30 +0000 (20:10 +0000)
obd_io.py

index e15f698..d444d0f 100644 (file)
--- a/obd_io.py
+++ b/obd_io.py
@@ -73,7 +73,7 @@ class OBDPort:
      def __init__(self,portnum,_notify_window,SERTIMEOUT,RECONNATTEMPTS):
          """Initializes port by resetting device and gettings supported PIDs. """
          # These should really be set by the user.
-         baud     = 9600
+         baud     = 38400
          databits = 8
          par      = serial.PARITY_NONE  # parity
          sb       = 1                   # stop bits