mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 03:43:22 +00:00
RC Robot Tutorial
This commit is contained in:
@@ -98,7 +98,7 @@ The following images illustrate various PWM duty cycles registered by oscillosco
|
||||
+------+-----+---------------------------------------------------------+----------------+
|
||||
| 1 | 15 | Joystick y-axis | ADC1_CH1 |
|
||||
+------+-----+---------------------------------------------------------+----------------+
|
||||
| 8 | 5 | Joystick push button | |
|
||||
| 8 | 5 | Joystick push button | NC |
|
||||
+------+-----+---------------------------------------------------------+----------------+
|
||||
| 6 | 4 | PWM for clockwise rotation of left-side motors | LEDC_CHANNEL_1 |
|
||||
+------+-----+---------------------------------------------------------+----------------+
|
||||
@@ -157,7 +157,7 @@ The function for updating motors' PWM values.
|
||||
ESP_LOGW("ESP-NOW", "Data was sent.");
|
||||
}
|
||||
|
||||
The onDataReceived() and onDataSent() are two call-bacl functions that get evoked on each corresponding event.
|
||||
The onDataReceived() and onDataSent() are two call-back functions that get evoked on each corresponding event.
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
|
Reference in New Issue
Block a user