#define PlayTone ( _freq,
_dur   )     __PlayToneEx(_freq,_dur,4,0)

Play a tone.

Play a single tone of the specified frequency and duration. The frequency is in Hz (see the Tone constants group). The duration is in 1000ths of a second (see the Time constants group). The tone is played at the loudest sound level supported by the firmware and it is not looped.

Parameters:
_freq The desired tone frequency, in Hz.
_dur The desired tone duration, in ms.

Generated by  doxygen 1.6.2