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