ESP32 IDF Latest Version Tutorials

amithgopakumar
Posts: 1
Joined: Sat Nov 02, 2024 4:58 am

ESP32 IDF Latest Version Tutorials

Postby amithgopakumar » Sat Nov 02, 2024 5:03 am

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?

aliarifat794
Posts: 196
Joined: Sun Jun 23, 2024 6:18 pm

Re: ESP32 IDF Latest Version Tutorials

Postby aliarifat794 » Sat Nov 02, 2024 12:13 pm

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.

Who is online

Users browsing this forum: morgana2313 and 71 guests