from document I read:
In my code I haveNote
Since the ADC2 is shared with the WIFI module, which has higher priority, reading operation of adc2_get_raw() will fail between esp_wifi_start() and esp_wifi_stop(). Use the return code to see whether the reading is successful.
Code: Select all
WiFi.onEvent(WiFiEvent);
ETH.begin();
Code: Select all
WiFi.onEvent(WiFiEvent);
WiFi.begin();