AI on the Edge LESSON 7: Homework Solution for Dimmable LED

In this video lesson we present the solution to the homework assignment given in LESSON #6.  Your assignment was to create a dimmable LED where the brightness of the RGB LED is controlled by the potentiometer. We are still using the schematic from our earlier project.

Fusion Hat Circuit Diagram
This is the circuit we will use moving forward in the class

In this lesson, this is the code which we came up with: