YOUR ACCOUNT
CONTACT
ABOUT MODULAR ROBOTICS
FORUM
BLOG
CUBELETS
CODE
get_brightness()
Description
Returns the value of the brightness sensor
Compatibility
Brightness Blocks
Return
The value of the brightness sensor. A number 0-255.
Example
void setup() { } void loop() { sense(); } void sense() { block_value = get_brightness(); }