[beagleboard] Re: how stop my buzzer

2014-09-04 Thread keo . lcms
thanks michael my buzzer is stop :) Le mercredi 3 septembre 2014 22:09:28 UTC+2, Michael M a écrit : Mixing digitalWrite and analogWrite could be the problem. Try disabling the buzzer by setting the PWM duty cycle to 0: if(data =='stop'){ b.analogWrite(S_13,0,3);

[beagleboard] Re: how stop my buzzer

2014-09-03 Thread Michael M
Mixing digitalWrite and analogWrite could be the problem. Try disabling the buzzer by setting the PWM duty cycle to 0: if(data =='stop'){ b.analogWrite(S_13,0,3); console.log('stop buzz'); }; On Wednesday, September 3, 2014 12:14:31 PM UTC-7, keo@gmail.com wrote: I