Forum Rule: Always post complete source code & details to reproduce any issue!
-
analogRead() question
hi there,
i need a 12-bit resolution for some of my analog measurements in a project, so i change the resolution in setup() like so:
analogReadResolution(12);
other parts of the code need only a 10 bit resolution.
since this project should run at low latency... is there any speed difference in reading 12 bits and bitshift by 2 (>>2) v.s. setting the resolution to 10bit?
-
Yes, but I encourage your to measure how much yourself.
-
Senior Member
-
Senior Member
Unfortunately, I cannot edit my post. The image title is incorrect. It is called with noise not without. Sorry ..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules