Control LED brightness using a microcontroller, such that it gradually increases the brightness from 0% to 100% over 2 seconds, then decreases it back to 0% over 1 second.
Repeat this cycle continuously with smooth transitions.
Submit Your Solution