smarques7 / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 1 forks source link

PWM with Timer1 does not work at well #1123

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the example when declaring Timer1, you must to write for pwm Timer3 for the 
correct functioning:

Timer3.initialize();                 
Timer3.pwm(5, 0, 500000);          
Timer3.attachInterrupt(callback1);

Original issue reported on code.google.com by seba...@gmail.com on 1 Apr 2013 at 5:57