In the only code I can see you're analogWrite() with a very small value (20 out of 255) to a pin that isn't a PWM pin. I can't comment on code I can't see.
Steve
In the only code I can see you're analogWrite() with a very small value (20 out of 255) to a pin that isn't a PWM pin. I can't comment on code I can't see.
Steve