-
Notifications
You must be signed in to change notification settings - Fork 500
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
picoexplorer.get_adc(x) hangs #52
Comments
After a bit of poking, this seems to happen if you don't call Presumably this is because |
Thanks for pointing this out @lesp! As @UnfinishedStuff mentions, the cause of the problem is that you're not calling This is something we should be handling gracefully, so what I'll do is have each function fire off a RuntimeException in this case that will instruct the user that init needs to be called, like: Quick question though. How should I do the wording for that error message? |
When attempting to read an ADC channel from Micro Python the Pico hangs completely.
The text was updated successfully, but these errors were encountered: