Other Parts Discussed in Thread: TLC5973
Hello,
I just need a simple code example to get one single TLC59731 going.
As I understand I just need to send for bytes via SPI:
void set_rgb_led(signed int8 red, signed int8 green, signed int8 blue) { spi_write(0x3a); // init spi_write(red); // red spi_write(green); // green spi_write(blue); // blue }
But this does actually work somehow: when I continuosly write values from a counter into the RGB values the LEDs turn sometimes on and off.
But I am not able to have any control.
So what is missing or wrong?