energia / msp430-lg-core

15 stars 12 forks source link

Default Analog Read Resolution Inconsistent #18

Open robertinant opened 8 years ago

robertinant commented 8 years ago

From @croberts15 on January 28, 2016 17:1

The default analog read resolution should be consistent across all boards at 10 bit, however when testing I was getting a default of 12-bit for 5529, 6989, and tm4c123. The msp432 was 10-bit.

Copied from original issue: energia/Energia#834

robertinant commented 8 years ago

From @rei-vilo on January 28, 2016 17:14

See #822 for CC3200.

robertinant commented 7 years ago

This is a potential dangerous change. If I change it then users who upgrade will now suddenly get 10 bit vs 12 bit. We can document this but I many users might not read the documentation. Thoughts?

rei-vilo commented 7 years ago

Add a function that returns the number of bits for ADC. So the user knows which is the maximum.