-
Notifications
You must be signed in to change notification settings - Fork 69
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
enablePGA doesn't work on second adc #52
Comments
What board is this? |
Sorry this was on a Teensy 3.2 |
Unless I'm reading the RefMan wrong PGA0 only connects to ADC0. So even though you can get differential inputs for ADC1 on these pins (9,10) you can't connect the PGA0 to ADC1. If that is true then the "wrong pin" error is correct. I think that's right... |
ah thanks. I didn't know. |
Sorry, for the delay, yeah, that's correct. I think the image on the forum post shows this. |
When using continuous differencial reading on adc1 I get the error
Error ADC1: Wrong pin
But only if I try to enable the PGA. If I omit the call to enablePGA it works, and it works if using adc0. Is this expected?
The text was updated successfully, but these errors were encountered: