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.
Is it possible to capture this wave into an array from JavaScript?
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.
Kind regards,
Suru