PWM Output on Arduino mega 2560
Posted: Mon Feb 04, 2013 5:51 pm
Hi, All,
I am struggling to get my PWM outputs to work.
I can get a pwm output on Digital Pin 4 (PWM 2).
But when I tire and get any of others to work I am unable to see a pwm output.
I have tried all different PWM channels/ pins and as you can see with the program attached I should be getting the PWM on both Digital Pin 4 and pin 2,
But i am only seeing the pwm on pin4.
I have tried different pins/PWM channels and the only one I can get to work is PWM channel 2 on Digital pin 4.
Could anyone Help?
Thanks
Tristan
I am struggling to get my PWM outputs to work.
I can get a pwm output on Digital Pin 4 (PWM 2).
But when I tire and get any of others to work I am unable to see a pwm output.
I have tried all different PWM channels/ pins and as you can see with the program attached I should be getting the PWM on both Digital Pin 4 and pin 2,
But i am only seeing the pwm on pin4.
I have tried different pins/PWM channels and the only one I can get to work is PWM channel 2 on Digital pin 4.
Could anyone Help?
Thanks
Tristan