CNC optical endstop pcb design