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 07:41]
madlyr
Line 3: Line 3:
 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. 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.+This function is useful if you want to warn the user that he/she have no connection.
 <code>ok = nxt.CheckConnection();</code> <code>ok = nxt.CheckConnection();</code>
    
built_in/nxt_checkconnection.txt ยท Last modified: 2015/03/11 15:41 (external edit)