Well I would like to thank you all for your help tonight in chat. I found the problem I was having, turns out they dont like being clocked at 5mhz. changed that and all is good. Mrpackethead was kinda cracking on my code, it is a rough draft I will do a final refined code. There is a delay that keeps the clock line low for >750us you just have to look for it. The dmx recieve code is in a isr at the end of recieving 512 packet plus start code it set a flag that flag will let the main code run, the flag is then set again when it recieves the dmx break.
I have included the rough draft code right now it gives 1 string individual control of the first five pixels then repeats for the rest of the string. i will do one for first 6 nodes and repeat for the rest of the string and full 168 node.
Thanks for your help
Rob
I have included the rough draft code right now it gives 1 string individual control of the first five pixels then repeats for the rest of the string. i will do one for first 6 nodes and repeat for the rest of the string and full 168 node.
Thanks for your help
Rob