ADEEPT PiCar-Pro Manual page 12

Table of Contents

Advertisement

(4)Programming language
For the Raspberry Pi, there are many programming languages available. In fact,
any language that can be compiled for the ARM architecture (such as the C language)
can be used for the Raspberry Pi. The most popular language should be Python. In
fact, the Pi in the name of the Raspberry Pi was inspired by the word Python. Python
is an interpretive, object-oriented, and dynamic data type high-level programming
language with powerful functions, good compatibility, and high reliability. Python
programs are easy to write and read. At present, there are two major versions of
Python: Python 2 and Python 3. Both versions have been updated and maintained, but
people still have disputes about which version to use. You can visit Python's official
website (www.python.org) to understand more related content, in the future we will
mainly use Python 3 for development introduction. In addition, because the
compatibility of the Raspberry Pi is splendid, the program we wrote on the 3B+
model can be run on the Zero W model with little modification.
2. Introduction to GPIO
(1) What is GPIO
GPIO (General Purpose I/O Ports) are general-purpose input/output ports. In
layman's terms, they are some pins with two rows of pins. They can be used to output
high and low levels or to read the state of the pins-whether it is high or low. Users can
interact with the hardware through the GPIO port (such as UART), control the work
of the hardware (such as LED, buzzer, etc.), read the working status signal of the
hardware (such as interrupt signal), etc.
9

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PiCar-Pro and is the answer not in the manual?

Table of Contents

Save PDF