This is my project, the Pathfinder. It has three MX-style switches and three LEDs of red, green, and blue colours respectively. It also includes one RGB LED. The firware is coded such that -
-
Press Button 1 → Blue LED ON, RGB shows blue
-
Press Button 2 within 2 seconds of Button 1 → Green LED ON, RGB shows green
-
Press Button 1 AND Button 2 within 2 seconds of each other → Blue + Green LEDs ON, RGB shows cyan (blue + green)
-
Hold Button 3 → Red LED ON, RGB shows red
-
Combine Button 3 + Button 1 → Red + Blue LEDs ON, RGB shows magenta (red + blue)
-
Combine Button 3 + Button 2 → Red + Green LEDs ON, RGB shows yellow (red + green)
-
Press all three buttons together (B1 + B2 + B3) → All LEDs OFF, RGB shows rainbow animation 🌈