Switching on LED when sensor registers