|
发表于 2019-6-21 22:07
来自手机
|
显示全部楼层
22189009anduino 发表于 2019-6-21 22:05
问题现象:py库rgb wifi例程运行出错
android版本:9.0
手机型号:荣耀9青春版
报错内容[22:02:10 2019] {'RGBKey': [78, 73, 158, 0]}
[22:02:10 2019] <Blinker.Blinker.BlinkerRGB object at 0x763a1390>
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/dist-packages/Blinker-0.2.0-py3.5.egg/Blinker/Blinker.py", line 626, in thread_run
Blinker.checkData()
File "/usr/local/lib/python3.5/dist-packages/Blinker-0.2.0-py3.5.egg/Blinker/Blinker.py", line 148, in checkData
BlinkerPY.parse(self)
File "/usr/local/lib/python3.5/dist-packages/Blinker-0.2.0-py3.5.egg/Blinker/Blinker.py", line 348, in parse
bProto.RGB[key].func(data[key][R], data[key][G], data[key][B], data[key][BR])
NameError: name 'BR' is not defined
|
|