mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-31 23:36:48 +00:00
ESP-IDF Robot ESP NOW
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user