Page 1 of 1

ESP32 IDF Latest Version Tutorials

Posted: Sat Nov 02, 2024 5:03 am
by amithgopakumar
I previously worked with an older version of ESP-IDF, which used the adc.h library. Now, the newer versions have switched to the oneshot and continuous libraries for ADC. However, the GitHub guide doesn’t provide enough detail, and I’m finding it hard to understand. Are there any resources or tutorials that explain this clearly?

Re: ESP32 IDF Latest Version Tutorials

Posted: Sat Nov 02, 2024 12:13 pm
by aliarifat794
To set up oneshot mode, initialize an ADC channel using adc_oneshot_new_unit and configure it with your desired bit width and attenuation levels.