Change to digital input proximity detector