This example was for an RGB Led display I saw It contains 8 led’s  3 control lines for the red  green and blue and also requires a 5v connection The LEDs are common cathode types so a low (0v) switches them on and a high (5v) switches them off