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
65
Need help?
Do you have a question about the PiCar-Pro and is the answer not in the manual?