HELP for Common Anode RGB LED

So I'm fairly new to Arduino and C++ and so may be mistaken. That said, I was trying to complete the locally published tutorial and kept failing to get it to work. No matter what I did, the RGB LED wouldn't turn on while following the included schematics.

It wasn't until I noticed a lack of GND connection and plugged the 5V wire shown into the GND did it work.

Was I doing something wrong beforehand or is the diagram just incorrect?

Show us a good image of ‘YOUR’ wiring.
Give links to components.
Posting images:

So what you are saying is that you in fact have a common cathode RGB LED, not a common anode. :roll_eyes:

Oh perhaps. Didn't realise there was a difference between a common cathode and common anode. I only just broke out the Arduino to pass time in quarantine.

Thanks for your help!

antoinerwg:
I only just broke out the Arduino to pass time in quarantine.

Excellent approach! :grinning:

FYI