I have an rgb led hooked up with:
#define rPin 9 //red pin
#define gPin 5 //green pin
#define bPin 6 //blue pin
The red pin works fine with analogwrite but the green and blue pin stay on at a medium intensity despite using analogwrite to set pwm to 0.
What could cause these to stay on?
I am using these libraries:
but afaik neither should be interfering with the pwm on pin 5 and 6.
p.s. I am using Arduino 011