diff --git a/send_and_blink/send_and_blink.ino b/send_and_blink/send_and_blink.ino index b2f058c..56d443d 100644 --- a/send_and_blink/send_and_blink.ino +++ b/send_and_blink/send_and_blink.ino @@ -127,10 +127,10 @@ int readLoudness() int readLight() { int sensorValue = analogRead(LIGHT_SENSOR); + + //return sensorValue; - return sensorValue; - - return map(sensorValue, 1000, 200000, 1, 100); + return map(sensorValue, 11, 27333, 0, 413); // return (float)(sensorValue)*10/sensorValue; // return (float)(1023-sensorValue)*10/sensorValue; // Not a great value