samrajaf / pinguino32

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

PlayMusic.pde not work at MX220 board #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. noTone(11); 
2. program not continuing
3.

Resolution - add line in file pwm.c
in function
void PWM_set_frequency(u32 freq)
{
    if(freq==0) freq=1; // <-add this line
    _pr3_plus1 = GetPeripheralClock() / freq;   // FOSC /  PWM Frequency

Original issue reported on code.google.com by adcichy...@gmail.com on 3 Apr 2012 at 8:03

GoogleCodeExporter commented 8 years ago
Fixed in revision 325 for X.2 version.
Thanks adcichy121.

Original comment by jp.mandon@gmail.com on 8 Apr 2012 at 10:27

GoogleCodeExporter commented 8 years ago

Original comment by rblanchot@gmail.com on 23 Apr 2013 at 7:06