NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char PlayTone ( unsigned int  frequency,
unsigned int  duration 

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.

frequencyThe desired tone frequency, in Hz.
durationThe desired tone duration, in ms.
alternating_tasks.nxc, ex_file_system.nxc, ex_PlayTone.nxc, and ex_yield.nxc.