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

HTRCXPlayToneVar 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_HTRCXPlayToneVar.nxc.