Closed SuperChamp234 closed 8 months ago
I am issuing this PR to update our ADC Implementation for ESP-IDF 5.0.
As per pull request #87 , I have rewritten the ADC implementation to use methods from the new ESP-IDF 5.0 library.
It makes use of the esp_adc component instead of the depreciated esp_adc_cal.
esp_adc
esp_adc_cal
The new ADC methods require the use of an adc_handle_t when trying to access the ADC object and perform actions.
adc_handle_t
Please review and let me know the changes, thank you.
Hi @RISHI27-dot , I have made the changes as requested, please review.
I am issuing this PR to update our ADC Implementation for ESP-IDF 5.0.
As per pull request #87 , I have rewritten the ADC implementation to use methods from the new ESP-IDF 5.0 library.
It makes use of the
esp_adc
component instead of the depreciatedesp_adc_cal
.The new ADC methods require the use of an
adc_handle_t
when trying to access the ADC object and perform actions.Please review and let me know the changes, thank you.