From 82d91e1b0b073049f6069f42001de059a1e2b55e Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Wed, 25 Dec 2024 11:36:12 -0500 Subject: [PATCH] ESP-IDF Robot Controls --- ESP-IDF_Robot/main/blink_example_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index 6921376f1..6ba3f65bf 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -74,6 +74,7 @@ TIMER RESOLUTION MAX VALUE HALF-DUTY #define PROJ_X (4) // ADC1_CH4; 4 GPIO joystick, x-axis #define PROJ_Y (5) // ADC2_CH0; 5 GPIO joystick, y-axis #define NAV_BTN (8) // 8 GPIO joystick button +static TaskHandle_t s_task_handle; static int adc_raw[2][10]; static int voltage[2][10];