Resource Portal

Here you can find STEM education resources.

Search and filter below, according to your preferences, to find free activities, videos or webinars to use.

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

Topic:  STEM

Tags  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. 


Standard YouTube license