From 1f8773b44036f87034ea9b9b11b33858f9b1de0f Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Fri, 3 Jan 2025 00:52:42 -0500 Subject: [PATCH] ESP32-C3 RC --- ESP-IDF_Robot_RC/.vscode/settings.json | 5 ++++- ESP-IDF_Robot_RC/build/.ninja_lock | 0 ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref | 2 +- ESP-IDF_Robot_RC/main/espnow_example_main.c | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 ESP-IDF_Robot_RC/build/.ninja_lock diff --git a/ESP-IDF_Robot_RC/.vscode/settings.json b/ESP-IDF_Robot_RC/.vscode/settings.json index 6eb15101c..55667db3d 100644 --- a/ESP-IDF_Robot_RC/.vscode/settings.json +++ b/ESP-IDF_Robot_RC/.vscode/settings.json @@ -6,5 +6,8 @@ ], "idf.port": "/dev/ttyACM1", "idf.toolsPath": "/home/abobkov/.espressif", - "idf.flashType": "UART" + "idf.flashType": "UART", + "files.associations": { + "stdlib.h": "c" + } } diff --git a/ESP-IDF_Robot_RC/build/.ninja_lock b/ESP-IDF_Robot_RC/build/.ninja_lock new file mode 100644 index 000000000..e69de29bb diff --git a/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref b/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref index b98111cf5..315cbd9a6 100644 --- a/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref +++ b/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref @@ -1 +1 @@ -2f281fcb78ab2bd717297455ec88f2fc422c8c16 +0b9396e3809d51f448a33e952db129cd852ecd84 diff --git a/ESP-IDF_Robot_RC/main/espnow_example_main.c b/ESP-IDF_Robot_RC/main/espnow_example_main.c index 0b9325bf8..d5ac3a1e7 100755 --- a/ESP-IDF_Robot_RC/main/espnow_example_main.c +++ b/ESP-IDF_Robot_RC/main/espnow_example_main.c @@ -31,6 +31,8 @@ #include "espnow_example.h" #include "rc.h" +#include "motor_controls.h" +#include "controls.h" #define PROJ_X (1) // ADC1_CH1; 0 GPIO joystick, x-axis #define PROJ_Y (0) // ADC1_CH0; 1 GPIO joystick, y-axis