The L76GNSS is the GPS module that can provide location data to your application.
Creates a L76GNSS object. Constructor must be passed a Pytrack or I2C object to successfully construct. Set the timeout
to a period in seconds for the GPS to search for a lock. If a lock is not found by the time the timeout
has expired, the coordinates
method will return (None, None)
.
Read the longitude and latitude from the L76GNSS
. Returns a tuple with (longitude, latitude)
. With debug
set to True
the output from the GPS is verbose.
Continuously print nmea sentences received from the L76GNSS
to the REPL. This is useful if you want to use a graphical tool over UART to visualise GPS reception
Send commands to the L76GNSS
. See the datasheet of the L76 for more information. Be aware that some commands might break the communication interface.