Content portal

Hier vindt u leermiddelen voor de STEM-vakken.

 

Zoek hieronder naar lesmaterialen, gratis activiteiten, video's en publicaties om te gebruiken in de klas.

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.

Uitgever: Franklin Neyt

Onderwerp:  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. 

Videos

Standard YouTube license