We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a38520 commit c62b31bCopy full SHA for c62b31b
examples/computer_datalogging.py
@@ -2,8 +2,6 @@
2
# This actually doesn't even use the GPS library and instead just reads raw
3
# NMEA sentences from the GPS unit and dumps them to a file.
4
5
-import board
6
-import busio
7
import serial # pyserial is required
8
9
# Path to the file to log GPS data. By default this will be appended to
examples/gps_echotest.py
@@ -54,7 +54,7 @@
54
while True:
55
data = uart.read(32) # read up to 32 bytes
56
# print(data) # this is a bytearray type
57
-
+
58
if data is not None:
59
# convert bytearray to string
60
data_string = ''.join([chr(b) for b in data])
0 commit comments