DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:nxt_ispaired

Differences

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

Link to this comparison view

built_in:nxt_ispaired [2015/03/23 07:49]
madlyr created
built_in:nxt_ispaired [2015/03/23 08:11] (current)
madlyr [Example]
Line 12: Line 12:
   deviceName = "​myNXTbrick";​   deviceName = "​myNXTbrick";​
   paired = nxt.IsPaired( deviceName );   paired = nxt.IsPaired( deviceName );
-  app.Alert( "​Bluetooth device " + deviceName + (paired ? "is " : "is not ") + "​paired."​ );+  app.Alert( "​Bluetooth device " + deviceName + (paired ? " is " : " is not ") + "​paired."​ );
  
 </​code>​ </​code>​
built_in/nxt_ispaired.txt ยท Last modified: 2015/03/23 08:11 by madlyr