Are you sending the signal to an amplifier before it gets to the speaker? If not, what type of speaker do you have?
Are you sending the signal to an amplifier before it gets to the speaker? If not, what type of speaker do you have?
1. Make sure PortA is configured as Digital I/O. The sound command will not work if it's configured as AtoD inputs.
2. Try another frequency, 127 is the highest (10KHz). Try something lower.
3. Try another pin on another Port (PortB maybe).
4. Test the speaker(s) by putting another sound trough them (like a radio). Just to make SURE they work.
Jim
I think I figured it out. I was sending inaudible stuff. The frequency was way to high. I changed the pauseus to 500 and got a nice tone.
Bookmarks