Python & CircuitPython — image 1 of 1

adafruit_products_m0_tlc5947_bb.png
details
  • Board GND/ground to driver GND
  • Board USB/5V to driver V+ and RGB LED anode (longest leg).
  • Board SCK to driver CLK
  • Board MOSI to driver DIN
  • Board D5 to driver LAT (or use any other free digital I/O).
  • RGB LED red leg to driver output 21 (or any other output).
  • RGB LED green leg to driver output 22 (or any other output).
  • RGB LED blue leg to driver output 23 (or any other output).

You might need to check your RGB LED's datasheet to find which legs are the red, green, blue inputs (or just experiment with turning them on off to find out).  The longest leg will always be the anode, or positive voltage input.  Be sure you're using a common anode and not common cathode RGB LED!

Back

Search