In this lesson I will show how to create a dimmable LED using two button switches. One is for brightening, and the other for dimming. We will use internal pullup resistors, and we will use PWM on the GPIO pin for the LED.
SunFounder Programming Education
Arduino and Raspberry Pi Courses for Beginners
In this lesson I will show how to create a dimmable LED using two button switches. One is for brightening, and the other for dimming. We will use internal pullup resistors, and we will use PWM on the GPIO pin for the LED.