The Due’s analog inputs pins measure from ground to a maximum value of 3.3V.Īpplying more then 3.3V on the Due’s pins will damage the SAM3X chip. It is possible to change the resolution of the ADC with analogReadResolution(). By default, the resolution of the readings is set at 10 bits, for compatibility with other Arduino boards. More information can be found at readthedocs.The Arduino Due Board has 12 analog inputs (pins from A0 to A11), each of which can provide 12 bits of resolution (i.e. resultadcEnd(pin): gets the result of the conversion (waits if ADC has not finished), returns 16-bit integer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |