Little-Wire
|
Functions | |
unsigned int | littleWire::analogRead (unsigned char channel) |
Analog to Digital Converter Function
unsigned int littleWire::analogRead | ( | unsigned char | channel | ) |
Read analog voltage. Analog voltage reading from ADC_PIN3 isn't advised (it is a bit noisy) but supported. Use it at your own risk.
For more about internal temperature sensor, look at the Attiny85 datasheet.
channel | Source of ADC reading (ADC_PIN2 , ADC_PIN3 or ADC_TEMP_SENS) |