|
|
|
@ -30,7 +30,8 @@
|
|
|
|
|
|
|
|
|
|
#include "Temperature.h"
|
|
|
|
|
|
|
|
|
|
static const uint16_t PROGMEM Temperature_Lookup[TEMP_TABLE_SIZE] = {
|
|
|
|
|
static const uint16_t PROGMEM Temperature_Lookup[TEMP_TABLE_SIZE] =
|
|
|
|
|
{
|
|
|
|
|
0x3B4, 0x3B0, 0x3AB, 0x3A6, 0x3A0, 0x39A, 0x394, 0x38E, 0x388, 0x381, 0x37A, 0x373,
|
|
|
|
|
0x36B, 0x363, 0x35B, 0x353, 0x34A, 0x341, 0x338, 0x32F, 0x325, 0x31B, 0x311, 0x307,
|
|
|
|
|
0x2FC, 0x2F1, 0x2E6, 0x2DB, 0x2D0, 0x2C4, 0x2B8, 0x2AC, 0x2A0, 0x294, 0x288, 0x27C,
|
|
|
|
@ -41,7 +42,7 @@ static const uint16_t PROGMEM Temperature_Lookup[TEMP_TABLE_SIZE] = {
|
|
|
|
|
0x0A4, 0x09F, 0x09A, 0x096, 0x091, 0x08C, 0x088, 0x084, 0x080, 0x07C, 0x078, 0x074,
|
|
|
|
|
0x071, 0x06D, 0x06A, 0x067, 0x064, 0x061, 0x05E, 0x05B, 0x058, 0x055, 0x053, 0x050,
|
|
|
|
|
0x04E, 0x04C, 0x049, 0x047, 0x045, 0x043, 0x041, 0x03F, 0x03D, 0x03C, 0x03A, 0x038
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
int8_t Temperature_GetTemperature(void)
|
|
|
|
|
{
|
|
|
|
|