ESP-NOW Transmitter

This commit is contained in:
2025-06-17 23:37:43 -04:00
parent 73ab7c7f68
commit 795dee237c
1306 changed files with 8 additions and 173273 deletions

View File

@@ -6,7 +6,6 @@
#include "esp_err.h"
#include "esp_mac.h"
#include "esp_now.h"
#include "config.h"
//static const char *TAG = "ESP-NOW_Transmitter";
@@ -14,6 +13,8 @@
static sensors_data_t buffer;
static int x, y; // Joystick x and y positions
adc_oneshot_unit_handle_t adc_xy_handle;
//uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; // MAC address of Robot
// Function to delete peer (i.e. when communication error occurs)
void deleteDev (void) {