I am using the ESP32, and I am struggling with the ADC.
I am using a function generator to create a 100 Hz sine wave.
If not how do you do It in Mongoose OS C code?
When I try to do this using ADC1_CHANNEL_4 I only get about 6Hz.
Any guidance would be appreciated.