Hi "Repetier", OK, I conceed that point - I did not notice that one variable is "currentTemperature"and "currentTemperatureC". :\">
Yes, I understood the function of the ISR,
Module extruder.cpp, class TemperatureController, method updateCurrentTemperature() seems where the temperature gets converted. Lets assume I have a "sensortype"=1. There are two switch statements (with lots of old leftover types?). The first one at "case 99" I have copied the code to do the same for my thermistor value (remember, I have only defined the sensor, it is not part of an extruder, and thus will not be touched by any extruder-code) and it gives me a printable raw value.
the 2nd switch at case 12 does what I see as a linear interpolation(?) of values in what "temptables_num" points to, where the sensortype has selected the table followed by another bit compensation.
Somehow these structure is used for the bedthermistor, too. At the Extruder::getHeatedBedTemperature it is output, but how/when could I add my thermistor to this? I can see the clue around line 1300 i extruder.cpp with the #define NUM_TEMPERATURE_LOOPS .... but feel most uncertain on the consequences of adding 1 to it, and where code would transfer osAnalogInputValues[my index] to the structure. ...
we can take this discussion offline/pm/mail if you want to.