fadeAmount = -fadeAmount;What do you suppose that this line does ?
In addition, don't forget that the loop() function does what its name suggests.
fadeAmount = -fadeAmount;What do you suppose that this line does ?
In addition, don't forget that the loop() function does what its name suggests.