get_block_value(cubelet_id)
Description
Retrieves the block value for the Cubelet with the specified id.
Parameters
cubelet_id A 24-bit unique identifier of a Cubelet.
Compatibility
All Blocks
Return
The value of the specified Cubelet's block value. A number 0-255.
Example
void setup()
{
}
void loop()
{
sense();
}
void sense()
{
//100 is the ID of the Cubelet that you want the
//block value from
block_value = get_block_value(100);
}