mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 06:18:57 +00:00
RC
This commit is contained in:
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
||||
964df104149120675d58456dbe5eb243dbf5ab35
|
||||
36b5dd7446194b97e56baf9b858d434fd99b7464
|
||||
|
@@ -45,7 +45,7 @@ typedef struct {
|
||||
static uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45};
|
||||
|
||||
static esp_now_peer_info_t peerInfo; // ESP-NOW pointer holding info about devices (peers)
|
||||
static sensors_data_t *buf; // Pointer to the struct buffer holding data being sent.
|
||||
static sensors_data_t *buf, buffer; // Pointer to the struct buffer holding data being sent.
|
||||
static const char *TAG = "Remote Controller";
|
||||
|
||||
/* WiFi is required to run ESPNOW */
|
||||
@@ -85,7 +85,7 @@ void deletePeer (void) {
|
||||
}
|
||||
// Function to send data to the receiver
|
||||
void sendData (void) {
|
||||
sensors_data_t buffer; // Declare data struct
|
||||
//sensors_data_t buffer; // Declare data struct
|
||||
|
||||
buffer.crc = 0;
|
||||
buffer.x_axis = 240;
|
||||
|
Reference in New Issue
Block a user