It's been a while since I used a teensy 2.0 and apparently I forgot some details. I'm trying to convert the output of a thermocouple amplifier (5mV/°C) to something human-readable. The amplifier's output is connected to A0 (pin 21). An external 2.5V reference is connected to the Teensy's ARef pin.
So two questions:
So two questions:
- Does that pin (A0, pin 21) have 10 bits ADC resolution?
- How do I use the external reference? Is there an arduino-style function or do I have to set the reference bits (REFS1..0) in ADMUX?