-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there example for continuous ADC? #446
Comments
I finally got the program to compile and run on the ESP32-C3-DevKit-RUST-1. I don't know if this is correct as I don't have input yet unfortunately. But it seems to run just fine. I get 400 bytes every loop, consistent with the default config of 100 measurements.
|
My ESP32-C3-Lyra finally arrived so I was able to test the code. Below is the working code that uses the onboard mic. I was able to get the ADC reading, send it over the network and playback the audio with
|
If you feel like working on a PR, i might suggest instead of creating a separate example for the continues ADC, to add a bit of docstrings to the modules and public API, as we currently lag it for the adc drivers. Since otherwise the continues Driver is similar to the oneshot one. |
Got it. I can definitely try and add some docstrings for the ADC module. I think that was problem when I first tried too. |
Hi,
I'm trying to piece together and example on how to continuously read ADC. But I'm struggling at what to create for
channels
. This is currently what I have.According to the
Config.toml
generate by the template project. I'm using esp-idf-svc version 0.49 and esp-idf-hal version 0.44.Thank you so much for your time and help.
The text was updated successfully, but these errors were encountered: