|
|
|
|
@ -86,7 +86,6 @@ uint8_t control_output(uint16_t current_temp, uint16_t target_temp)
|
|
|
|
|
// uC ADC pin (with 1.11V reference)
|
|
|
|
|
uint16_t linearize_temp(uint16_t temp_in)
|
|
|
|
|
{
|
|
|
|
|
static const uint16_t one_point_one_volt = 65472; //2^16-2^6
|
|
|
|
|
uint16_t temp_out = TARGET_TEMP_MAX; //burning
|
|
|
|
|
// made from datasheet by:
|
|
|
|
|
// for i in 677 740 807 877 951 1029 1111 1196 1286 1378 1475 1575 1679 1786 1896 2003 2103 2189; do calc 5*$i/9860*65472/1.11; done
|
|
|
|
|
|