mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 16:44:23 +00:00
PWM rescaling
This commit is contained in:
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
|||||||
e0d1ab4d6105c19452b35b4dacb11117bd72a346
|
e36d0f455b7acaacc7f55f8b56ce6a24f0c165db
|
||||||
|
@@ -289,8 +289,8 @@ static void rc_task (void *arg) {
|
|||||||
while (true) {
|
while (true) {
|
||||||
update_pwm (rc_x, rc_y);
|
update_pwm (rc_x, rc_y);
|
||||||
ESP_LOGI("x,y", "( %d, %d ) [ %d, %d] ", rc_x, rc_y, x, y);
|
ESP_LOGI("x,y", "( %d, %d ) [ %d, %d] ", rc_x, rc_y, x, y);
|
||||||
vTaskDelay (100 / portTICK_PERIOD_MS); // Determines responsiveness
|
//vTaskDelay (100 / portTICK_PERIOD_MS); // Determines responsiveness
|
||||||
//vTaskDelay (1000 / portTICK_PERIOD_MS);
|
vTaskDelay (1000 / portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user