ambiantLight()
Description
Read the ambiant light sensors.
Syntax
ambiantLight(sensor)
Parameter
sensor : the sensor number (1 to 6)
Return
Value: int (0 to 4095)
Exemple
# read ambiant light sensor n°2
light2 = ambiantLight(2);
Read the ambiant light sensors.
ambiantLight(sensor)
sensor : the sensor number (1 to 6)
Value: int (0 to 4095)
# read ambiant light sensor n°2
light2 = ambiantLight(2);