mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 14:20:51 +00:00
RC Robot Tutorial
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user