User Tools

Site Tools


built_in:nxt_checkconnection

Differences

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

Link to this comparison view

built_in:nxt_checkconnection [2015/03/09 15:47]
octazid created
built_in:nxt_checkconnection [2015/03/11 15:41]
Line 1: Line 1:
-====== CheckConnection ====== 
  
-The **CheckConnection** function returns true if the NXT brick is currently connected to the phone/tablet but it will show a popup warning message and return **false** if no brick is currently connected. 
- 
-This function is useful if you want to warn the user that they have no connection when they start pressing buttons etc in your program. 
-<code>ok = nxt.CheckConnection();</code> 
-  
built_in/nxt_checkconnection.txt ยท Last modified: 2015/03/11 15:41 (external edit)