-
Notifications
You must be signed in to change notification settings - Fork 47
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
Does the wokwi simulator support the round-robin method of reading multiple ADC channels in pico? #141
Comments
Hi! The ADC does seem to implement multi-shot read in a round robin fashion, but I'm not sure how well tested this specific code path is. If you are interested, you can take a look at the implementation here: rp2040js/src/peripherals/adc.ts Lines 214 to 234 in 7243fc7
|
hi, thank you for your reply. |
Hi, I tried to change the dma_capture pico sdk example code to read multiple ADC inputs in a round-robin method, but only ADC0(pin26) is read. All my efforts to implement this method in wokwi simulator ended with the same result. at the address
https://forums.raspberrypi.com/viewtopic.php?t=350378
I saw that this work was done. So I tried to run the final code in the wokwi simulator, but the result was the same, that is, only ADC0 (pin26) is read.
https://wokwi.com/projects/399099758831776769
It seems that the wokwi simulator does not support the round robin method for pico. Please guide me if anyone has any information on this matter. Thankful
The text was updated successfully, but these errors were encountered: