I'm trying to communicate with a raspberry pi 3
input's are driven by 12V and leds are connected to led drives.
The data on SPI connection is weird.
For example if i had 120 as binary on leds i had 126 on spi output.
And if i add 2 126 stays the same.
take away 2 and it rockets down to 80.
I can never predict.
I'm running the SPI on
mode0 (But tried all 4)
8bit datalenght
Pulling the LD input down and up before CE input.
I don't know what i'm doing wrong.