You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with serial.Serial('/dev/ttyS0', 38400) as serial_conn:
with tsip.GPS(serial_conn) as gps_conn: # context
for report in gps_conn: # iterator
if report[0] == 0x41:
print 'GPS time of week .......: %f' % (report[1])
print 'Extended GPS week number: %d' % (report[2])
print 'GPS UTC offset .........: %f' % (report[3])
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: