You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggested solution
Need to change GPIO2 and 4 into GPIO32 and 33 in ADC1 to resolve the conflict.
To test GPIO32 and 33 to confirm.
Reference:
The ADC driver API supports ADC1 (8 channels, attached to GPIOs 32 - 39), and ADC2 (10 channels, attached to GPIOs 0, 2, 4, 12 - 15 and 25 - 27). However, the usage of ADC2 has some restrictions for the application:
ADC2 is used by the Wi-Fi driver. Therefore the application can only use ADC2 when the Wi-Fi driver has not started.
Suggested solution
Need to change GPIO2 and 4 into GPIO32 and 33 in ADC1 to resolve the conflict.
To test GPIO32 and 33 to confirm.
Reference:
The ADC driver API supports ADC1 (8 channels, attached to GPIOs 32 - 39), and ADC2 (10 channels, attached to GPIOs 0, 2, 4, 12 - 15 and 25 - 27). However, the usage of ADC2 has some restrictions for the application:
ADC2 is used by the Wi-Fi driver. Therefore the application can only use ADC2 when the Wi-Fi driver has not started.
Some of the ADC2 pins are used as strapping pins (GPIO 0, 2, 15) thus cannot be used freely.
https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/adc.html
The text was updated successfully, but these errors were encountered: