Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不能直接在windows下运行 #1

Open
AlexFreeMac opened this issue Jun 21, 2022 · 0 comments
Open

不能直接在windows下运行 #1

AlexFreeMac opened this issue Jun 21, 2022 · 0 comments

Comments

@AlexFreeMac
Copy link

不能直接在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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant