GPS – Global Positioning System
The GPS module features the u-blox receiver platform, which provides multi-band GPS/GNSS to high-volume industrial applications in a compact form factor.
Methods
Note
Since the get_uart_id()
method of the Gps
class returns a microPython UART object, it has all its methods.
To do not duplicate the documentation, we suggest to take a look at the official microPython project documentation to see what methods you can additionaly use.
- Example of additional methods:
>>> import sbc >>> gps1 = sbc.Gps( 1, 115200 ) >>> print('There are: ',gps1.get_uart_id().any(),' characters to be read') There are: 1580 characters to be read >>> print(gps1.get_uart_id().readline()) b'$GNGGA,142222.00,4136.52091,N,00036.70322,E,2,10,1.27,203.6,M,49.8,M,,0000*4D\r\n'