Skip to content
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

12bit input #29

Open
nesdnuma opened this issue Jan 23, 2020 · 3 comments
Open

12bit input #29

nesdnuma opened this issue Jan 23, 2020 · 3 comments

Comments

@nesdnuma
Copy link

Hello,

I've tried the library on a Teensy 3.1. It works well.

Would you consider making it compatible with a 12-bit analog resolution? Currently it seems to be limited to a 10-bit resolution.

@tschaerni
Copy link

Maybe you should read the rather good explanation and documentation?
TL;DR: https://github.com/dxinteractive/ResponsiveAnalogRead#analog-resolution

@nesdnuma
Copy link
Author

Ah, indeed. Thanks!

@lijon
Copy link

lijon commented May 4, 2022

I had the same problem. What's not clear in the docs is that the resolution argument is actually "max value + 1", and not number of bits as I first assumed. So enter 4096 instead of 12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants