mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 08:23:22 +00:00
ESP32-C3 RC
This commit is contained in:
@@ -1 +1 @@
|
||||
c9763f62dd00c887a1a8fafe388db868a7e44069
|
||||
ref: refs/heads/main
|
||||
|
@@ -18,7 +18,7 @@ set(HEAD_HASH)
|
||||
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP-IDF_Robot/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
|
||||
|
||||
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
|
||||
set(GIT_DIR "/home/abobkov/esp/esp-idf/.git")
|
||||
set(GIT_DIR "/home/abobkov/MyProjects/ESP-Nodes/.git")
|
||||
# handle git-worktree
|
||||
if(EXISTS "${GIT_DIR}/commondir")
|
||||
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
||||
|
@@ -1 +1 @@
|
||||
c9763f62dd00c887a1a8fafe388db868a7e44069
|
||||
c39740709bfb8471eb73c1c989e773b9cd112c9d
|
||||
|
@@ -474,12 +474,12 @@ void sendData (void) {
|
||||
buffer->motor2_rpm_pcm = 0;
|
||||
buffer->motor3_rpm_pcm = 0;
|
||||
buffer->motor4_rpm_pcm = 0;
|
||||
ESP_LOGI(TAG, "x-axis: 0x%04x", (uint8_t)buffer->x_axis);
|
||||
ESP_LOGI(TAG, "y-axis: 0x%04x", (uint8_t)buffer->y_axis);
|
||||
ESP_LOGI(TAG, "pcm 1: 0x%04x", (uint8_t)buffer->motor1_rpm_pcm);
|
||||
ESP_LOGI(TAG, "pcm 2: 0x%04x", (uint8_t)buffer->motor2_rpm_pcm);
|
||||
ESP_LOGI(TAG, "pcm 3: 0x%04x", (uint8_t)buffer->motor3_rpm_pcm);
|
||||
ESP_LOGI(TAG, "pcm 4: 0x%04x", (uint8_t)buffer->motor4_rpm_pcm);
|
||||
ESP_LOGI(TAG, "x-axis: 0x%04X", (uint8_t)buffer->x_axis);
|
||||
ESP_LOGI(TAG, "y-axis: 0x%04X", (uint8_t)buffer->y_axis);
|
||||
ESP_LOGI(TAG, "pcm 1: 0x%04X", (uint8_t)buffer->motor1_rpm_pcm);
|
||||
ESP_LOGI(TAG, "pcm 2: 0x%04X", (uint8_t)buffer->motor2_rpm_pcm);
|
||||
ESP_LOGI(TAG, "pcm 3: 0x%04X", (uint8_t)buffer->motor3_rpm_pcm);
|
||||
ESP_LOGI(TAG, "pcm 4: 0x%04X", (uint8_t)buffer->motor4_rpm_pcm);
|
||||
|
||||
//uint8_t result = esp_now_send(receiver_mac, &flagToSend, sizeof(flagToSend));
|
||||
uint8_t result = esp_now_send(receiver_mac, &buffer, sizeof(buffer));
|
||||
|
Reference in New Issue
Block a user