User Tools

Site Tools


built_in:nxt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
built_in:nxt [2015/03/23 08:01]
madlyr [Table] Added Connect description.
built_in:nxt [2015/04/18 18:02] (current)
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()]]             | Gets the name of the NXT-G program currently running on the NXT brick.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | [[nxt_getcurrentprogram|GetCurrentProgram()]]             | Gets the name of the NXT-G program currently running on the NXT brick.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
 +| [[nxt_getrotationcount|GetRotationCount( motor)]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
 | [[nxt_isbluetoothenabled|IsBluetoothEnabled()]]           | Checks if Bluetooth is enabled on the phone/tablet. Returns **true** if Bluetooth is enabled and **false** if it is disabled. This is alias for function IsEnabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | [[nxt_isbluetoothenabled|IsBluetoothEnabled()]]           | Checks if Bluetooth is enabled on the phone/tablet. Returns **true** if Bluetooth is enabled and **false** if it is disabled. This is alias for function IsEnabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
 | [[nxt_isconnected|IsConnected()]]                         | Returns true if the NXT brick is currently connected to the phone/tablet. Unlike [[nxt_checkconnection|CheckConnection]] method, it will **not show a popup warning message** and return false if no brick is currently connected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | [[nxt_isconnected|IsConnected()]]                         | Returns true if the NXT brick is currently connected to the phone/tablet. Unlike [[nxt_checkconnection|CheckConnection]] method, it will **not show a popup warning message** and return false if no brick is currently connected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
built_in/nxt.1427097664.txt.gz ยท Last modified: 2015/03/23 16:01 (external edit)