d3 update

This commit is contained in:
Daniel Pollithy 2017-09-01 12:37:09 +02:00
parent ea26442ae3
commit 11b0a93260

View File

@ -2,10 +2,10 @@ from subprocess import Popen
def switch_off():
popen = Popen(['sudo', './touch_switch', 'off'])
popen = Popen(['sudo', 'bash', '/home/linaro/bluetooth_drone/touch_switch', 'off'])
popen.wait()
def switch_on():
popen = Popen(['sudo', './touch_switch', 'on'])
popen = Popen(['sudo', 'bash', '/home/linaro/bluetooth_drone/touch_switch', 'on'])
popen.wait()