diff --git a/config.h.dist b/config.h.dist index ea94fac..ac28570 100644 --- a/config.h.dist +++ b/config.h.dist @@ -211,6 +211,7 @@ // #define TEMP_MAX6675 // #define TEMP_THERMISTOR // #define TEMP_AD595 +// #define TEMP_PT100 #define TEMP_INTERCOM // if you selected thermistor or AD595, what pin is it on? (this value only used to fill ANALOG_MASK for you) @@ -285,7 +286,8 @@ struct { } heaters[NUM_HEATERS]/* = { // port pin pwm - { &PORTD, PIND6, &OCR0A } + { &PORTD, PIND6, &OCR0A }, + { &PORTD, PIND5, &OCR0B } }*/; #endif diff --git a/temp.c b/temp.c index 3677ac2..7a044cf 100644 --- a/temp.c +++ b/temp.c @@ -19,6 +19,7 @@ typedef enum { TT_THERMISTOR, TT_MAX6675, TT_AD595, + TT_PT100, TT_INTERCOM } temp_types; @@ -206,6 +207,12 @@ void temp_sensor_tick() { break; #endif /* TEMP_AD595 */ + #ifdef TEMP_PT100 + case TT_PT100: + #warning TODO: PT100 code + break + #endif /* TEMP_PT100 */ + #ifdef GEN3 case TT_INTERCOM: temp = get_read_cmd() << 2;