mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-15 03:46:43 +00:00
PWM rescaling
This commit is contained in:
@@ -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 (10 / portTICK_PERIOD_MS); // Determines responsiveness
|
vTaskDelay (10 / portTICK_PERIOD_MS); // Determines responsiveness
|
||||||
vTaskDelay (1000 / portTICK_PERIOD_MS);
|
//vTaskDelay (1000 / portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user