You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
不能直接在windows下运行
D:\MyWork\src\USV-raspberrypi-part-master>python3 MainSequence.py
173.64817707652992
62664.53384641629
Ctrl模块文件引入出错!
Traceback (most recent call last):
File "D:\MyWork\src\USV-raspberrypi-part-master\MainSequence.py", line 29, in
Ctrl.GPIOinit()
File "D:\MyWork\src\USV-raspberrypi-part-master\Ctrl.py", line 29, in GPIOinit
GPIO.setmode(GPIO.BOARD)
NameError: name 'GPIO' is not defined
The text was updated successfully, but these errors were encountered:
不能直接在windows下运行
D:\MyWork\src\USV-raspberrypi-part-master>python3 MainSequence.py
173.64817707652992
62664.53384641629
Ctrl模块文件引入出错!
Traceback (most recent call last):
File "D:\MyWork\src\USV-raspberrypi-part-master\MainSequence.py", line 29, in
Ctrl.GPIOinit()
File "D:\MyWork\src\USV-raspberrypi-part-master\Ctrl.py", line 29, in GPIOinit
GPIO.setmode(GPIO.BOARD)
NameError: name 'GPIO' is not defined
The text was updated successfully, but these errors were encountered: