From b864626f0ff61279c55212ab56f5ad412df77748 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 23 Dec 2024 20:51:32 -0500 Subject: [PATCH] ESP-IDF Robot ESP NOW --- ESP-IDF_Robot/main/blink_example_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index 49b4b5870..3b5ff0c0c 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -56,11 +56,13 @@ static QueueHandle_t gpio_evt_queue = NULL; static uint8_t s_led_state = 0; uint8_t broadcastAddress[] = {}; +/* ESP NOW*/ typedef struct struct_message { char node[32]; uint8_t motor_a_pwm; } struct_message; struct_message controlData; +esp_now_peer_info_t peerInfo; #ifdef CONFIG_BLINK_LED_STRIP