Skill level: Advanced Note: This tutorial is for those who are already experienced in C, MPLAB X and some knowledge in PWM. I’m sure you have seen a lot of those RGB lights everywhere and they do sure look amazing
Hi everyone, did you watch our Selamat Hari Raya Aidilfitri 2015 video? In that video I use Cytron RainbowBit to make the colourful plate. The number of the RainbowBit that light up is controlled by the analog distance sensor. When the analog distance sensor detect the object nearer, more RainbowBit will light up and when the distance is less than or equal to 20 cm, all the RaibowBit will light up and make a beautiful cycle of colours.