EasyManua.ls Logo

ADEEPT PiCar-Pro - Page 68

ADEEPT PiCar-Pro
178 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
65
3. When you need to save the modified file, you can press the shortcut key
"Ctrl+S", then select "Yes". If there is a "Permission denied" error, just run the
command in MobaXterm:
sudo chmod -R 777 adeept_picarpro/server
3.4.3 Main code program
Complete code reference file switch.py
1. First import the library used to control the Raspberry Pi GPIO, and instantiate
it as a GPIO while importing it. Import the time library for code delay.
1. import RPi.GPIO as GPIO

Related product manuals