Skip to content

不能直接在windows下运行 #1

@AlexFreeMac

Description

@AlexFreeMac

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions