Skip navigation
RGB Array bargraph program

After the mathematical analysis how to set up an RGB bargraph with difertent colors in this tutorial the actual program is explained and the outcome is documented by using a potentiometer as a sensor.

Publisher: Franklin Neyt

Område:  STEM

Labels  STEM ,  TI STEM Lab ,  Youtube

The program uses for loops to change the color of each seperate LED and calculates for every LED what the value of RED and GREEN needs to be. Because the values of RED and GREEN can be out of bounds (they need to be in the range of 0 to 255) there is code that keeps the values between these minimal and maximal values. 

Videos

Standard YouTube license