Ejemplo n.º 1
0
def get_extruder_temperature():
    """ Measure extruder temperature.
    :return: temperature in Celsius.
    """
    return thermistor.get_temperature(EXTRUDER_TEMPERATURE_SENSOR_CHANNEL)
Ejemplo n.º 2
0
def get_bed_temperature():
    """ Measure bed temperature.
    :return: temperature in Celsius.
    """
    return thermistor.get_temperature(BED_TEMPERATURE_SENSOR_CHANNEL)