Audio Frequency output

Hi !

I need to output an audio frequency signal using an I/O pin on the rabbit5000, how could this be done. thanks AC

Do you mean :
while (1)
{
Iopin = on;
waitfor (delayMs(1));
iopin = off;
}
This will output a frequency of approx. 500 Hz. Off course the output waveform will be square and will need filtering.