User Tools

Site Tools


Sidebar

Privacy Policy

News

Version 2.50 is out since Jan 1st 2022


Frequently Asked Questions


Namespaces

Note for contributors

If you wish to create a new page in the DroidScript wiki, please click on the most appropriate namespace above and follow the notes for contributors there.

Because of spam, it has been necessary to add a CAPTCHA to the registration form and the save option for editing pages. You will not need to prove you are human if you are logged in, so please register.

Please feel free to improve any existing page, as well as adding new pages to increase the sum of public knowledge about DroidScript.

Formatting Syntax

built_in:nxtremote

NxtRemote control

This object is used internally by NXT object. see documentation from NXT.

Create

Create NxtRemote objects using the CreateNxtRemote function of the app object:

nxtremote = app.CreateNxtRemote();
NxtRemote.Beep( p1,p2 ) See NXT method
NxtRemote.Brake( p1 ) See NXT method
NxtRemote.CheckConnection() See NXT method
NxtRemote.Connect( p1 ) See NXT method
NxtRemote.Disconnect() See NXT method
NxtRemote.Drive( p1,p2,p3,p4 ) See NXT method
NxtRemote.FileFindFirst( p1 ) See NXT method
NxtRemote.FileFindNext( p1 ) See NXT method
NxtRemote.GetBtAddress( p1 ) See NXT method
NxtRemote.GetBtName( p1 ) See NXT method
NxtRemote.GetCurrentProgram() See NXT method
NxtRemote.GetRotationCount( motor ) See NXT method
NxtRemote.IsBluetoothEnabled() See NXT method
NxtRemote.IsConnected() See NXT method
NxtRemote.IsEnabled() See NXT method
NxtRemote.IsMotorIdle( p1 ) See NXT method
NxtRemote.IsPaired( p1 ) See NXT method
NxtRemote.PlaySoundFile( p1,p2 ) See NXT method
NxtRemote.ReadColorSensor( p1,p2 ) See NXT method
NxtRemote.ReadDistanceSensor( p1 ) See NXT method
NxtRemote.ReadLightSensor( p1,p2 ) See NXT method
NxtRemote.ReadMail( p1,p2,p3 ) See NXT method
NxtRemote.ReadSoundSensor( p1,p2 ) See NXT method
NxtRemote.ReadTouchSensor( p1 ) See NXT method
NxtRemote.RequestEnable() See NXT method
NxtRemote.SendMail( p1,p2,p3 ) See NXT method
NxtRemote.SetInvert( p1 ) See NXT method
NxtRemote.SetLampColor( p1,p2 ) See NXT method
NxtRemote.SetOnConnect( p1 ) See NXT method
NxtRemote.SetOnConnectEx( p1 ) See NXT method
NxtRemote.SetOnConnected( p1 ) See NXT method
NxtRemote.ShowDevices() See NXT method
NxtRemote.StartProgram( p1 ) See NXT method
NxtRemote.Stop( p1 ) See NXT method
NxtRemote.StopProgram() See NXT method
NxtRemote.ToColorName( p1 ) See NXT method
built_in/nxtremote.txt · Last modified: 2015/04/18 18:04 (external edit)