Freqout.freqout not working for my piezo
riprice
Posts: 3
What am I doing wrong?· I hear two clicks when I execute this code but no "beep".
Here is my code:
·· import stamp.core.*;
·· public class Bot
·· {
···· static Freqout pin4Piezo = new Freqout(CPU.pin4);
···· public static void main()
···· {
······ pin4Piezo.freqout(3250, 1000);
···· }
·· }
Here is my circuit:
·· pin4>
piezoSpeaker
Vss
Here is my code:
·· import stamp.core.*;
·· public class Bot
·· {
···· static Freqout pin4Piezo = new Freqout(CPU.pin4);
···· public static void main()
···· {
······ pin4Piezo.freqout(3250, 1000);
···· }
·· }
Here is my circuit:
·· pin4>
piezoSpeaker
Vss
Comments
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·