mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-26 10:35:52 +00:00
ESP32-C3 RC
This commit is contained in:
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
|||||||
ref: refs/heads/main
|
c9763f62dd00c887a1a8fafe388db868a7e44069
|
||||||
|
@@ -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)
|
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)
|
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
|
# handle git-worktree
|
||||||
if(EXISTS "${GIT_DIR}/commondir")
|
if(EXISTS "${GIT_DIR}/commondir")
|
||||||
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
||||||
|
@@ -1 +1 @@
|
|||||||
1f23c111b6118532d477ad828aa10254b5528f30
|
c9763f62dd00c887a1a8fafe388db868a7e44069
|
||||||
|
@@ -35,7 +35,6 @@
|
|||||||
#define PROJ_X (1) // ADC1_CH1; 0 GPIO joystick, x-axis
|
#define PROJ_X (1) // ADC1_CH1; 0 GPIO joystick, x-axis
|
||||||
#define PROJ_Y (0) // ADC1_CH0; 1 GPIO joystick, y-axis
|
#define PROJ_Y (0) // ADC1_CH0; 1 GPIO joystick, y-axis
|
||||||
#define NAV_BTN (8) // 8 GPIO joystick button
|
#define NAV_BTN (8) // 8 GPIO joystick button
|
||||||
struct motors_rpm m;
|
|
||||||
|
|
||||||
|
|
||||||
#define ESPNOW_MAXDELAY 512
|
#define ESPNOW_MAXDELAY 512
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#define ADC1_CHAN1 ADC1_CHANNEL_1
|
#define ADC1_CHAN1 ADC1_CHANNEL_1
|
||||||
|
|
||||||
//static const char *TAG = "ESP IDF Robot"
|
//static const char *TAG = "ESP IDF Robot"
|
||||||
extern struct motors_rpm m;
|
struct motors_rpm m;
|
||||||
|
|
||||||
|
|
||||||
static int adc_raw[2][10];
|
static int adc_raw[2][10];
|
||||||
|
Reference in New Issue
Block a user