Update btserver.py

master
Zhengyu Peng 3 years ago
parent e51f97b817
commit 989a0bacc8

@ -46,7 +46,7 @@ class BluetoothServer(Thread):
self.cmd_queue = out_cmd_queue self.cmd_queue = out_cmd_queue
with open('./config.json', 'r') as read_file: with open('/home/pi/hexapod/software/raspberry pi/config.json', 'r') as read_file:
self.config = json.load(read_file) self.config = json.load(read_file)
stream = os.popen('hciconfig hci0') stream = os.popen('hciconfig hci0')

Loading…
Cancel
Save