Portale Risorse

Qui puoi trovare risorse per l'insegnamento delle discipline STEM.

Cerca e filtra in base alle tue preferenze per trovare attività gratuite, video o webinar.

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

Argomento:  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