readLightValue(id)
Get the light value from the light sensor.
Parameter
Return Values
Example
#include "uKitExplore2.h"
void setup() {
Initialization();
}
void loop() {
Serial.println(readLightValue(1));
delay(400);
}Last updated