ESP32-C3 RC

This commit is contained in:
2025-01-03 00:41:17 -05:00
parent 7847ae69d4
commit 94c428b818
6 changed files with 4 additions and 5 deletions

View File

View File

@@ -1 +1 @@
ref: refs/heads/main
c9763f62dd00c887a1a8fafe388db868a7e44069

View File

@@ -18,7 +18,7 @@ set(HEAD_HASH)
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
set(GIT_DIR "/home/abobkov/MyProjects/ESP-Nodes/.git")
set(GIT_DIR "/home/abobkov/esp/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 @@
1f23c111b6118532d477ad828aa10254b5528f30
c9763f62dd00c887a1a8fafe388db868a7e44069

View File

@@ -35,7 +35,6 @@
#define PROJ_X (1) // ADC1_CH1; 0 GPIO joystick, x-axis
#define PROJ_Y (0) // ADC1_CH0; 1 GPIO joystick, y-axis
#define NAV_BTN (8) // 8 GPIO joystick button
struct motors_rpm m;
#define ESPNOW_MAXDELAY 512

View File

@@ -16,7 +16,7 @@
#define ADC1_CHAN1 ADC1_CHANNEL_1
//static const char *TAG = "ESP IDF Robot"
extern struct motors_rpm m;
struct motors_rpm m;
static int adc_raw[2][10];