NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void MSRCXPlayToneVar ( const byte  varnum,
const byte  duration 
)
inline

MSRCXPlayToneVar function.

Send the PlayToneVar command to an RCX.

Parameters
varnumThe variable containing the tone frequency to play.
durationThe duration of the tone to play.
Examples:
ex_MSRCXPlayToneVar.nxc.