PWM rescaling

This commit is contained in:
2025-06-26 01:36:08 -04:00
parent 2af9f5c705
commit 892aa19c01
5 changed files with 5 additions and 5 deletions

View File

View File

@@ -1 +1 @@
ref: refs/heads/main
4c2820d377d1375e787bcef612f0c32c1427d183

View File

@@ -18,7 +18,7 @@ set(HEAD_HASH)
file(READ "/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
set(GIT_DIR "/home/alex/github/ESP-Nodes/.git")
set(GIT_DIR "/home/alex/esp/v5.4.1/esp-idf/.git")
# handle git-worktree
if(EXISTS "${GIT_DIR}/commondir")
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)

View File

@@ -1 +1 @@
e36d0f455b7acaacc7f55f8b56ce6a24f0c165db
4c2820d377d1375e787bcef612f0c32c1427d183

View File

@@ -289,8 +289,8 @@ static void rc_task (void *arg) {
while (true) {
update_pwm (rc_x, rc_y);
ESP_LOGI("x,y", "( %d, %d ) [ %d, %d] ", rc_x, rc_y, x, y);
//vTaskDelay (100 / portTICK_PERIOD_MS); // Determines responsiveness
vTaskDelay (1000 / portTICK_PERIOD_MS);
vTaskDelay (100 / portTICK_PERIOD_MS); // Determines responsiveness
//vTaskDelay (1000 / portTICK_PERIOD_MS);
}
}