set_bar(bar_number)
Description
Illuminates a single bar on the Bar Graph Cubelet.
Parameters
bar_number The position on the Bar Graph of the bar to illuminate. A number 0-9.
Compatibility
Bargraph Blocks
Example
void setup()
{
}
void loop()
{
act();
}
void act()
{
//Iluminate the two outer most bars on the Bar Graph Cubelet.
set_bar(0);
set_bar(9);
}