Explorar el Código

Change hotend temperature sensor from T0 to T1

Custom modification to Einsy Rambo to remove pullup resistor (R36)
on T1 to support AD8495 thermocouple amplifier.
Kevin Lee hace 3 años
padre
commit
77fc23b44f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Firmware/temperature.cpp

+ 1 - 1
Firmware/temperature.cpp

@@ -2087,7 +2087,7 @@ float current_temperature_ambient_isr;
 // ISR callback from adc when sampling finished
 void adc_callback()
 {
-    current_temperature_raw[0] = adc_values[ADC_PIN_IDX(TEMP_0_PIN)]; //heater
+    current_temperature_raw[0] = adc_values[ADC_PIN_IDX(TEMP_1_PIN)]; //heater
     current_temperature_bed_raw = adc_values[ADC_PIN_IDX(TEMP_BED_PIN)];
 #ifdef PINDA_THERMISTOR
     current_temperature_raw_pinda = adc_values[ADC_PIN_IDX(TEMP_PINDA_PIN)];