Adafruit TLC5947 won't work with pyboard and spi

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
crosaire
Posts: 1
Joined: Sat Jan 07, 2017 7:18 pm

Adafruit TLC5947 won't work with pyboard and spi

Postby crosaire » Mon Jan 09, 2017 7:47 pm

Hello micropython Gurus..!!

Does anyone have any experience using the adafruit TLC5947 PWM LED controller..??

https://learn.adafruit.com/tlc5947-tlc5 ... l#overview

adafruit documentation leaves a lot to assumption.... their examples are with arduinos and c.

I have not been able to figure out exactly what I need to send on spi to function this thing....

Also, the pins on this thing are lat, oe, clk, datain, gnd, V+.

I am assuming that the lat pin is the chip select... I've tried to it connected to ss on the pyboard and I've tried to control the pin via X1... and via just physically wiring it hard from low to high to low.

I am not sure what my spi.send should look like... i've tried spi.send('0, 4095'), I've tried spi.send('0'), spi.send('4095') and spi.send(0), spi.send(4095) and so on.

Any help or examples would be greatly appreciated..!

Regards,
CRosaire

User avatar
deshipu
Posts: 925
Joined: Thu May 28, 2015 5:54 pm

Re: Adafruit TLC5947 won't work with pyboard and spi

Postby deshipu » Tue Jan 10, 2017 10:17 am

At https://learn.adafruit.com/tlc5947-tlc5 ... -and-links you have the schematic and the datasheets. That should contain much more detail, more than enough to write a MicroPython library for it.


Return to “The MicroPython pyboard”

Who is online

Users browsing this forum: No registered users and 3 guests