PaulS:
Leave the buttons sewn onto the shirt. They won't work worth a damned with the Arduino. Use a switch, instead.What do you suppose the digitalRead() function does?
HOW do you want to use the fact that a switch is, or is not, pressed, to change the speed of the fade? Each time the switch is noticed to be pressed, the speed should randomly go up or down some amount between 0 and 4567237278452158?
What the heck does that mean?
The problem is that I need to use a button, switch is not allowed. Also the button need to speed up the fading proces with 100ms with every press.
With your last quote I ment that the rgb led wil completely fade out before starting a new fade with another color.