CODE
clear_bar(bar_number)
Description
Clears a bar on the Bar Graph Cubelet.
Parameters
bar_number The position on the Bar Graph of the bar to clear. A number 0-9.
Compatibility
Bargraph Blocks
Example
  1. void setup()
  2. {
  3. }
  4. void loop()
  5. {
  6. act();
  7. }
  8. void act()
  9. {
  10. set_bar_graph(255);//Illuminate all bars.
  11. //Turn off the second, fourth, and sixth bars.
  12. clear_bar(1);
  13. clear_bar(3);
  14. clear_bar(5);
  15. }