ESPNOW + WiFi

This commit is contained in:
2025-07-28 15:15:58 -04:00
parent 321b1ef854
commit 5c4fd53060
11 changed files with 819 additions and 823 deletions

View File

@@ -344,8 +344,11 @@ static void display_xy() {
while (true) {
ESP_LOGI("x,y", "( %d, %d ) [ %d, %d] ", rc_x, rc_y, x, y);
uint8_t channel;
wifi_band_t *band;
esp_wifi_get_channel(&channel, NULL);
ESP_LOGE(TAG, "ESP-NOW Channel: %d", channel);
esp_wifi_get_band(&band);
ESP_LOGI(TAG, "Wi-Fi Channel: %d, Band: %d", channel, band);
vTaskDelay (1000 / portTICK_PERIOD_MS);
}
}