CODE
set_block_value(cubelet_id, block_value)
Description
Allows for manually setting the input and output of Cubelets. Modifies the output of sensors, and think/utility blocks. Modifies the input of actuator blocks.
Parameters
cubelet_id A 24-bit unique identifier of a Cubelet.
block_value The value to set the specified Cubelet's block value to. A number 0-255.
Compatibility
All Blocks
Example
    void setup()
    {
    }
    void loop()
    {
        think();
    }
    void think()
    {
        //Sets the block value of a Cubelet with ID 100.
        set_block_value(100, 255);
    }