Hi everybody
I am working on arduino since 2 years, and i am quite familiar/advanced with it, but i got today a really strange problem with pwm on arduino uno
pwm on pin 9, 10,11 are working great using "fade" exemple, indeed the problem is not "electrical".
When i am using my sketch, the pwm is not working with pin 9 or 10, only digital output, but it is working replacing word by word 9/10 to 11.
Pinmode is correctly configured in the setup.
In other words :
NOT working ( leds are OFF )
analogWrite(9, 57);
analogWrite(10, 125);
WORKING ( less are ON )
analogWrite(9, 255 );
analogWrite(10,255);
analogWrite(11, 125 );
analogWrite(11, 57 );
I was thinking about "dependencies", but i only use , and libraries, and no shield.
Do you have an idea ?