我想连接一个乐高Mindstorms NXT使用pybleuz到我的labtop。 但是当我搜索Mindstorms时,我得到了以下错误:
import bluetooth
print("performing inquiry...")
nearby_devices = bluetooth.discover_devices(
duration=8, lookup_names=True, flush_cache=True, lookup_class=False)
print("found %d devices" % len(nearby_devices))
for addr, name in nearby_devices:
try:
print(" %s - %s" % (addr, name))
except UnicodeEncodeError:
print(" %s - %s" % (addr, name.encode('utf-8', 'replace')))
我得到了一个错误:
^{pr2}$在
谁能帮帮我吗?在
目前没有回答
相关问题 更多 >
编程相关推荐