Light Sensor to Binary Code