3.3.1 Pytrack
Constructors
class L76GNSS(pytrack = None, sda = 'P22', scl = 'P21', timeout = None)
Creates a
object, that will return values for longitude and latitude. Constructor must
L76GNSS
be passed a Pytrack or I2C object to successfully construct. Set the
period (in seconds) for the GPS to search for a lock. If a lock is not found by the time the
has expired, the
timeout
Methods
L76GNSS.coordinates(debug = False)
Read the longitude and latitude from the
latitude. With
set to
debug
Please note that more functionality is being added weekly to these libraries. If a required
feature is not available, feel free to contribute with a pull request at the Libraries GitHub
repository
method will return
coordinates
L76GNSS
the output from the GPS is verbose.
True
timeout
(None, None)
. Returns a tuple with the longitude and
to a time
.
139
Need help?
Do you have a question about the WiPy 3.0 and is the answer not in the manual?
Questions and answers