mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-14 17:46:44 +00:00
ESP-IDF Robot ESP NOW
This commit is contained in:
@@ -57,6 +57,7 @@ typedef struct {
|
||||
uint8_t payload[2]; // Real payload of ESPNOW data.
|
||||
uint8_t mtr_a_pwm;
|
||||
uint8_t mtr_b_pwm;
|
||||
bool lights; // Lights ON/OFF
|
||||
} __attribute__((packed)) espnow_data_t;
|
||||
|
||||
/* Parameters of sending ESPNOW data. */
|
||||
|
Reference in New Issue
Block a user