intern2016
Member
For the project that I'm working on I need the teensy to be able to read its battery voltage and shut down before it gets too low. I am using teensyduino. According to the arduino website, setting the new reference voltage is as simple as typing analogReference(INTERNAL) or analogReference(INTERNAL1V1) in the setup loop. Both of them worked fine for me when I tried them. My question is, does the teensy also have a 2.56V internal reference? I noticed on the pjrc website that it talks about using 2.56V. https://www.pjrc.com/teensy/adc.html When I try compiling with analogReference(INTERNAL2V56) I get an error. Any thoughts or advice would be appreciated!