(code in this circuit does not work in Tinkercad as the wiring for the LED is for a common anode while Tinkercad's RGB LED is common cathode)