@npedro said in IR temperature Sensor and Conditional Programming:
I was thinking using an analog IR sensor.
If the sensor produces an analog output that you can scale or limit to 0-3.3V then you can use the LinearAnalog type of sensor in RRF. You could use the daemon.g file to read the sensor periodically, calculate the correction needed and use the M220 command to change the feed rate multiplier. Please note, M220 doesn't affect moves already in the queue, so it may take up to 2 seconds + 1 move before changes in M220 take effect.