I am using esp32 DOIT dev kit to measure current sensor. i use Emonlib to read the current, but it deal with 10 bit ADC by default according to the library. to change the resolution of ADC you should put line of code in setup function analogReadResolution(ADC_BITS); no output is generated.
so what is the change in library to work with esp32?
is anyone try to measure current sensor by esp32?