UIFlow Guide
Get local time, latitude and longitude information
from m5stack import *
from m5ui import *
from uiflow import *
import unit
setScreenColor(0x222222)
gps_0 = unit.get(unit.GPS, unit.PORTC)
while True:
print(gps_0.gps_time)
print(gps_0.latitude)
print(gps_0.longitude)
print(gps_0.pos_quality)
wait_ms(2)
gps_0.uart_port_id(1)
print(gps_0.altitude)
print(gps_0.course)
print(gps_0.gps_date)
print(gps_0.latitude)
print(gps_0.latitude_decimal)
print(gps_0.longitude_decimal)
print(gps_0.longitude)
print(gps_0.pos_quality)
print(gps_0.satellite_num)
print(gps_0.speed_knot)
print(gps_0.gps_time)
gps_0.set_time_zone(0)