diff --git a/ESP32-IDF_ESPNOW-Transmitter/main/joystick.c b/ESP32-IDF_ESPNOW-Transmitter/main/joystick.c index 1f3ddb004..e318f4dd4 100644 --- a/ESP32-IDF_ESPNOW-Transmitter/main/joystick.c +++ b/ESP32-IDF_ESPNOW-Transmitter/main/joystick.c @@ -22,10 +22,10 @@ adc_oneshot_unit_handle_t adc_xy_handle; sensors_data_t buffer; static int x, y; // Joystick x- and y- axis positions -uint8_t broadcast_mac[ESP_NOW_ETH_ALEN] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; // Broadcast MAC address -// uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; // MAC address of Robot -uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0x9c, 0x9e, 0x6e, 0x14, 0xb5, 0x54}; // MAC address of Breadboard #2 -uint8_t transmitter_mac[ESP_NOW_ETH_ALEN] = {0x34, 0xB7, 0xDA, 0xF9, 0x33, 0x8D}; // MAC address of Remote Control +//uint8_t broadcast_mac[ESP_NOW_ETH_ALEN] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; // Broadcast MAC address +//// uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; // MAC address of Robot +//uint8_t receiver_mac[ESP_NOW_ETH_ALEN] = {0x9c, 0x9e, 0x6e, 0x14, 0xb5, 0x54}; // MAC address of Breadboard #2 +//uint8_t transmitter_mac[ESP_NOW_ETH_ALEN] = {0x34, 0xB7, 0xDA, 0xF9, 0x33, 0x8D}; // MAC address of Remote Control esp_err_t joystick_adc_init(void) {