kivyblocks/kivyblocks/gps.py
2020-03-08 17:39:01 +08:00

16 lines
249 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):
pass
def __del__(self):
gps.stop()