Marlin 1.1.8C - IR Sensor implementation
If you use your own firmware based on Marlin 1.1.8C, you can implement our IR sensor through the following code changes:
(The number before the code is the line specification, which does not necessarily have to match exactly)