I implemented the following code:
gps = microstacknode.hardware.gps.l80gps.L80GPS() while True: data = gps.get_gprmc() print(data.keys(), data.values()) time.sleep(1)
After some time it starts to output data with a time delay which increases with time. Here I am talking about 10 min delay in a 30-min run. It seems that the problem is coming from the serial port where all the data are buffered and I am getting not the latest data but whatever came to the port first. Has anyone had similar issue and what is the best solution to overcome this problem?