RC Robot Tutorial

This commit is contained in:
2025-07-21 02:58:52 -04:00
parent ca3e64c247
commit 24d58cf2b5

View File

@@ -166,7 +166,8 @@ to read analog values and store them in the corresponding x- and y- variables.
| 7 | 6 | PWM for counter-clockwise rotation of left-side motors | LEDC_CHANNEL_3 | | 7 | 6 | PWM for counter-clockwise rotation of left-side motors | LEDC_CHANNEL_3 |
+------+-----+---------------------------------------------------------+----------------+ +------+-----+---------------------------------------------------------+----------------+
The *struct* for storing motors PWM values. The *struct* for storing motors PWM values is shown below. Although the direction and speed of bitByte Rider RC car can be
controlled using only two PWM values, the four values are used to control each DC motor separately.
.. code-block:: c .. code-block:: c