bluetooth_drone/drone.py
Daniel Pollithy b38f87184e resetup raspy
2017-08-31 12:33:22 +02:00

19 lines
284 B
Python

from multiprocessing import Process
import client
import drone_poller
def run():
p = Process(target=drone_poller.run)
p.start()
client.run()
p.join()
if __name__ == '__main__':
try:
run()
except KeyboardInterrupt:
print('[x] quitting...')