PWM dosen't seem to work correctly.

Basic RGB LED circuit here, the code first switches diffrent colors on RBG LED and then when it comes to rainbow thingy using the for-loop and stuff the LED dosen't fade in or out and just switches between red, blue and green color. Plus it used to work before, same circuit and same code. Any help :frowning: ?

EDIT: oh my bad, i found out not all the pins are PWM compatible. trynna find delete button.

Where is your program and circuit?

Weedpharma