ResponsiveAnalogRead icon indicating copy to clipboard operation
ResponsiveAnalogRead copied to clipboard

12bit input

Open nesdnuma opened this issue 5 years ago • 3 comments

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.

nesdnuma avatar Jan 23 '20 09:01 nesdnuma

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

tschaerni avatar Apr 20 '20 17:04 tschaerni

Ah, indeed. Thanks!

nesdnuma avatar Apr 21 '20 05:04 nesdnuma

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.

lijon avatar May 04 '22 13:05 lijon