Joachim M. Giæver 349346b68e Added delta location to determine the distance moved, pluss bugs | 7 anos atrás | |
---|---|---|
.. | ||
README.md | 7 anos atrás | |
__init__.py | 7 anos atrás | |
gps.py | 7 anos atrás |
Usage example, from in a folder hierachy:
./main.py ./gps
main.py
from gps import gps
if __name__ == "__main__":
gps = gps.Data()
while True:
if gps.new_location():
location = gps.get_location()