Fade colors ON and OFF with RGB LED


  • Learn to fade colors on the RGB LED ON and OFF


  1. NodeMCU board (quantity: 1 no.)
  2. Micro USB cable A to B (quantity: 1 no.)
  3. Breadboard (quantity: 1 no.)
  4. Common Cathode RGB LED module (quantity: 1 no.)
  5. Jumper wire – male to male (quantity: 4 no.)
  6. Arduino IDE on your computer

Let’s begin!


Interfacing Common Cathode (-) RGB LED module with NodeMCU


Final Code

To copy the code, right click on view raw at the bottom of the code, click on open link in new tab and then copy the code.

We would love to see what you build out of these learnings!

Click here to submit your projects, share it with the world and stand a chance to be rewarded.


Knowledge and Content by Li2 Technologies | © 2021 NASSCOM Foundation | All rights reserved