no PWM on MEGA2560 timer 2...with PWM.h v5..since arduino 1.6.0


hello,
after installing new ide arduino software....all versions since 1.60...up 1.6.9 not working ....on timer 2 ...pin 9 ...on mega 2560....could me


pinmode(9,output);
  inittimerssafe();
setpinfrequencysafe(9,10000);
pwmwrite(9,127);

same pwm.h lib on lower arduino versions 1.0.5-r2 working


 :smiley-confuse:



Arduino Forum > Using Arduino > Programming Questions > no PWM on MEGA2560 timer 2...with PWM.h v5..since arduino 1.6.0


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'