![]() |
#5
|
|||
|
|||
Ok, I am back in the office.
The code I have been using to connect to the GPS is as follows: Code:
while 1: ser = serial.Serial(port=0, baudrate=4800, timeout=0) line = ser.readline() print line #DEBUG ser.close() I've included two text files - GPS DUMP is what is received when the GPS is outputting NMEA sentences and the TXT file shows what is received when the GPS unit is outputting text only. I really like your buffer method but am at a loss on how to implement it ![]() I am off to pour over the documentation for PySerial again as I am sure I'm missing something obvious ![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
serial port with vizard | Moh200jo | Vizard | 3 | 03-13-2009 03:21 PM |
A simple Plug_in for reading data from serial port | sled | Plug-in development | 0 | 08-12-2003 09:52 AM |