Added PT100 support for Ultiboard2

This commit is contained in:
daid
2014-01-06 11:20:03 +01:00
parent 380144c20f
commit df194f75e1
4 changed files with 79 additions and 3 deletions

View File

@ -1039,7 +1039,7 @@ ISR(TIMER0_COMPB_vect)
static unsigned long raw_temp_1_value = 0;
static unsigned long raw_temp_2_value = 0;
static unsigned long raw_temp_bed_value = 0;
static unsigned char temp_state = 0;
static unsigned char temp_state = 8;
static unsigned char pwm_count = (1 << SOFT_PWM_SCALE);
static unsigned char soft_pwm_0;
#if (EXTRUDERS > 1) || defined(HEATERS_PARALLEL)
@ -1181,6 +1181,9 @@ ISR(TIMER0_COMPB_vect)
temp_state = 0;
temp_count++;
break;
case 8: //Startup, delay initial temp reading a tiny bit so the hardware can settle.
temp_state = 0;
break;
// default:
// SERIAL_ERROR_START;
// SERIAL_ERRORLNPGM("Temp measurement error!");