I'm trying to use the Adafruit 24-Channel 12-bit PWM LED Driver with an SPI interface from Python. I checked that SPI itself is working by using a small C program. The problem is, I can't convince the board to produce any meaningful output. All I get is a dirty ground signal on all channels. I probe the outputs directly with a oscilloscope, nothing else connected.
I already took a step back and bit banged the outputs roughly reproducing what's happening in the Adafruit library. No luck at all. Here's the script, containing both attempts.
For the SPI-Version I'm using the py-spidev lib.
First I'd like to make sure my hardware setup (connections, measurement, ..) is working properly and the chip is still alive. Does any of you have a working test script (whatever language) to simply produce valid output?
I found FPulse, but the readme is kinda sparse - dunno what "bcm2835 shared library" he's talking about.. oO
Any help highly appreciated! Thanks