This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
built_in:nxt [2015/03/23 07:43] madlyr [Table] Added IsPaired description. |
built_in:nxt [2015/04/18 18:02] (current) |
||
---|---|---|---|
Line 13: | Line 13: | ||
| [[nxt_brake|Brake( motors )]] | Commands the NXT brick to Brake one or more of it's motors.\\ The **motors** parameter can be a single motor, for example just " | | [[nxt_brake|Brake( motors )]] | Commands the NXT brick to Brake one or more of it's motors.\\ The **motors** parameter can be a single motor, for example just " | ||
| [[nxt_checkconnection|CheckConnection()]] | | [[nxt_checkconnection|CheckConnection()]] | ||
- | | [[nxt_connect|Connect( | + | | [[nxt_connect|Connect( |
| [[nxt_disconnect|Disconnect()]] | | [[nxt_disconnect|Disconnect()]] | ||
| [[nxt_drive|Drive( motors, power, rotation )]] | Commands the NXT brick to drive one or more of it's motors with a given power and number of rotations.\\ The **motors** parameter can be a single motor, for example just " | | [[nxt_drive|Drive( motors, power, rotation )]] | Commands the NXT brick to drive one or more of it's motors with a given power and number of rotations.\\ The **motors** parameter can be a single motor, for example just " | ||
Line 21: | Line 21: | ||
| [[nxt_getbtname|GetBtName( obj )]] | Returns Bluetooth name of a connected NXT brick or NXT brick name given as optional **obj** parameter. | | [[nxt_getbtname|GetBtName( obj )]] | Returns Bluetooth name of a connected NXT brick or NXT brick name given as optional **obj** parameter. | ||
| [[nxt_getcurrentprogram|GetCurrentProgram()]] | | [[nxt_getcurrentprogram|GetCurrentProgram()]] | ||
+ | | [[nxt_getrotationcount|GetRotationCount( motor)]] | ||
| [[nxt_isbluetoothenabled|IsBluetoothEnabled()]] | | [[nxt_isbluetoothenabled|IsBluetoothEnabled()]] | ||
| [[nxt_isconnected|IsConnected()]] | | [[nxt_isconnected|IsConnected()]] |