====== Beep ====== The **Beep** function commands the NXT brick to play a tone of a given frequency for a given duration in milliseconds. nxt.Beep( frequency, duration ); ====Example - Make the NXT beep==== function OnStart() { nxt = app.CreateNxt(); app.SetMenu( "Connect,Beep" ); } function OnMenu( name ) { if( name=="Connect" ) nxt.ShowDevices(); else if( name=="Beep" ) nxt.Beep( 100, 500 ); }