50 #define PROGMEM_DECLARE(x) x __attribute__((__progmem__))
62 #define TEMP_PORT PORTF
66 #define TEMP_BIT_PWR 6
75 #define MEASURE_ADC2 1 //adds 250 bytes to program size
int temp_init(void)
This will initialize the digital IO and adc channel for temperture readings.
int16_t temp_get(temp_unit_t unit)
Read current temperature.
void temp_deinit(void)
This will disable temperature readings by reseting the initialed flag.
temp_unit_t
Type used with temp_get() to select temperature unit.