I purchased the MKRZERO specifically because it has 12 bits A/D's, however the values returned by analogRead are 8 bit values.
How does one go about getting the A/D to operate as a 12 bits A/D and return values 0-4095, instead of 0-1023?
I purchased the MKRZERO specifically because it has 12 bits A/D's, however the values returned by analogRead are 8 bit values.
How does one go about getting the A/D to operate as a 12 bits A/D and return values 0-4095, instead of 0-1023?
Hi jester
Try analogReadResolution(12); in setup() to change the read resolution.
ltheoret