DuinoPerson:
I don't know what's happening. However, try debugging it. Some debugging ideas are:
1) Switching the shift registers for new ones.
2) Only using 1 shift register, setPinGrouping(2) and 2 LED's.
3) Seeing if they behave normally under the shiftOut() function.
4) Uploading the ShiftPWM_Non_Blocking example sketch and testing that.
You might also have a buggy version of the library. However, 4 LED's did come on, just not the right ones.
1) I have switched the registers to totally new ones.. same
2) Did this,.. with just more wierd behaviour oO
.. when I do
ShiftPWM.SetRGB(0,10,0,0);
delay(500);
ShiftPWM.SetRGB(0,0,10,0);
delay(500);
ShiftPWM.SetRGB(0,0,0,10);
delay(500);
ShiftPWM.SetAll(0);
delay(500);
..the first LED should light up in red, green and blue.. right? .. okay, it does.. but to get the LEDs doing what the code says the pin-assignment has to be:
HC595: - LED:
Q1 -> red
Q3 -> green
Q4 -> blue
.. now i do the same with the second LED:
ShiftPWM.SetRGB(1,10,0,0);
delay(500);
ShiftPWM.SetRGB(1,0,10,0);
delay(500);
ShiftPWM.SetRGB(1,0,0,10);
delay(500);
ShiftPWM.SetAll(0);
delay(500);
now the pin-assignment has to be:
Q2 -> red
Q5 -> ?? i don't know.. a signal comes from here, but with a ..delay.. I thought first, it will be the blue signal, but there is no signal on any pin when I do
ShiftPWM.SetRGB(1,0,0,10);
where is my blue signal?? oO ..