LEDs and sensors