cathode is going to be connected to the bottom and also the three nodes are going to be connected through 220 Ohms resistors to three digital pins on the Arduino Board that may offer PWM signal.