PORTC.0 is also an analog port with comparator and ADC. Is the port configured correctly to be a digital output?
I know the sound command *says* it automatically makes it an output, but....?
Have you tried the speaker on a different port? maybe yer PIC is busted.
Any chance you have the PIC's oscillator set to the wrong frequency and it's outputting your sound at some super high "only dogs can hear it" frequency?
Have you tried a really low note setting like 10 or 20?
That's all that comes to mind now.
steve
Bookmarks