Sorry i'm not good at English. i want to adding fiber sensor in my 3d printer. sensor spec : NPN fiber sensor , 3 line : V+, GND , S i can't make custom g-code, because it's too hard. I tried several times but it didn't work as I wanted. i tried making custom g-code. void FIBER_SENSOR(millis_t time){ int FIBER_HOLD = 0; int FIBER_BEEP = 5; int FIBER_INPUT_PIN = 4; pinMode(FIBER_INPUT_PIN, INPUTby ddi423 - Firmware - Marlin