This commit is contained in:
2025-07-05 23:39:43 -04:00
parent b9c68062c6
commit b9cd547d05

View File

@@ -39,11 +39,11 @@ In particular, **GPIO6** and **GPIO5** provide PWM to the left- and right- side
Similarly, **GPIO4** and **GPIO7** provide PWM to the left- and right- side DC motors to rotate in a **counter-clockwise** direction.
Changing PWM on each channel determines the speed and direction of the RC car.
+-----------+-------+-------------+----------+
| GPIOs | State | Description | Function |
+-----------+-------+-------------+----------+----------+
| GPIOs | State | Description | Function |
+===========+=======+========================+==========+
| GPIO6 & | PWM | Left & Right DC Motors | Forward |
| GPIO4 | | spin clockwise | |
| GPIO6 & | PWM | Left & Right DC Motors | Forward |
| GPIO4 | | spin clockwise | |
+-----------+-------+----------+
| GPIO5 & | PWM | Left & Right DC Motors | Reverse |
| GPIO7 | | spin counterclockwise | |