ESP32-C3 RC & Receiver

This commit is contained in:
2025-01-04 05:25:49 -05:00
parent c7de3c4d14
commit 2d4fc89c3c

View File

@@ -39,7 +39,7 @@ typedef struct {
uint8_t motor4_rpm_pcm; uint8_t motor4_rpm_pcm;
} __attribute__((packed)) sensors_data_t; } __attribute__((packed)) sensors_data_t;
// MAC address of receiver. For one-to-many broadcast, change MAC address to FF:FF...:FF
static uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; static uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45};
static esp_now_peer_info_t peerInfo; static esp_now_peer_info_t peerInfo;