mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
add gps
This commit is contained in:
@@ -296,4 +296,42 @@ read encoder button
|
||||
|
||||
> display encoder status
|
||||
|
||||
><img src="/image/Modules/GoPlus_user.gif" width="70%">
|
||||
><img src="/image/Modules/GoPlus_user.gif" width="70%">
|
||||
|
||||
# GPS
|
||||
|
||||
#### Feature Introduction
|
||||
|
||||
>Get GPS information
|
||||
|
||||
><img src="/image/Units/GPS.webp" width="30%">
|
||||
|
||||
* __get time__
|
||||
Get local time
|
||||
|
||||
* __get latitude__
|
||||
Get latitude
|
||||
|
||||
* __get longitude__
|
||||
Get longitude
|
||||
|
||||
* __get satellite num__
|
||||
Number of satellites acquired
|
||||
|
||||
* __get positioning quality__
|
||||
Get positioning quality
|
||||
|
||||
* __get speed__
|
||||
Obtain relative ground speed
|
||||
|
||||
* __get course__
|
||||
Get geographic north pole location
|
||||
|
||||
* __set time zone__
|
||||
Set local time zone
|
||||
|
||||
#### Usage
|
||||
|
||||
> Display GPS related information on the screen
|
||||
|
||||
><img src="/image/Units/GPS_user.webp" width="80%">
|
||||
@@ -303,3 +303,40 @@ Module的I2C地址
|
||||
|
||||
><img src="/image/Modules/GoPlus_user.gif" width="70%">
|
||||
|
||||
# GPS
|
||||
|
||||
#### 功能说明
|
||||
|
||||
> 获取GPS信息
|
||||
|
||||
><img src="/image/Units/GPS.webp" width="50%">
|
||||
|
||||
* __get time__
|
||||
获取本地时间
|
||||
|
||||
* __get latitude__
|
||||
获取纬度
|
||||
|
||||
* __get longitude__
|
||||
获取经度
|
||||
|
||||
* __get satellite num__
|
||||
获取搜星数量
|
||||
|
||||
* __get positioning quality__
|
||||
获取定位精度
|
||||
|
||||
* __get speed__
|
||||
获取对地速度
|
||||
|
||||
* __get course__
|
||||
获取地理北极位置
|
||||
|
||||
* __set time zone__
|
||||
设置本地时区
|
||||
|
||||
#### 使用方法
|
||||
|
||||
> 在屏幕上显示GPS相关信息
|
||||
|
||||
><img src="/image/Units/GPS_user.webp" width="80%">
|
||||
Reference in New Issue
Block a user