ESP-NOW Transmitter

This commit is contained in:
2025-06-17 23:50:25 -04:00
parent 147cecf6ae
commit 50cfa11803
5 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -18,7 +18,7 @@ set(HEAD_HASH)
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024) file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/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/v5.4.1/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)

View File

@@ -1 +1 @@
6c98d9f962c215de29fe85d9ffab746de80c8662 4c2820d377d1375e787bcef612f0c32c1427d183

View File

@@ -10,7 +10,7 @@
//static const char *TAG = "ESP-NOW_Transmitter"; //static const char *TAG = "ESP-NOW_Transmitter";
static sensors_data_t buffer; extern static sensors_data_t buffer;
static int x, y; // Joystick x and y positions static int x, y; // Joystick x and y positions
adc_oneshot_unit_handle_t adc_xy_handle; adc_oneshot_unit_handle_t adc_xy_handle;
//uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; // MAC address of Robot //uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; // MAC address of Robot