def get_extruder_temperature(): """ Measure extruder temperature. :return: temperature in Celsius. """ return thermistor.get_temperature(EXTRUDER_TEMPERATURE_SENSOR_CHANNEL)
def get_bed_temperature(): """ Measure bed temperature. :return: temperature in Celsius. """ return thermistor.get_temperature(BED_TEMPERATURE_SENSOR_CHANNEL)