kivyblocks/kivyblocks/gps.py
2020-01-08 18:04:39 +08:00

16 lines
245 B
Python

from pyler import gps
class GPS:
def __init__(self):
gps.configure(on_location=self.on_location, on_status=self.on_status)
gps.start()
def on_location(self, **kw):
pass
def on_status(self,**kw):
def __del__(self):
gps.stop()