NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
ex_playtones.nxc
This is an example of how to use the
PlayTones
function along with the
Tone
structure.
Tone
sweepUp[] = {
TONE_C4
,
MS_50
,
TONE_E4
,
MS_50
,
TONE_G4
,
MS_50
,
TONE_C5
,
MS_50
,
TONE_E5
,
MS_50
,
TONE_G5
,
MS_50
,
TONE_C6
,
MS_200
};
task main()
{
PlayTones
(sweepUp);
Wait
(
SEC_1
);
}
Generated by
1.8.2