This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
built_in:nxt_isconnected [2015/03/10 20:59] madlyr created IsConnected |
built_in:nxt_isconnected [2015/03/10 21:05] madlyr [Example - IsConnected Connect / Disconnect to NXT with FontAwesome icons] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== IsConnected ====== | ====== IsConnected ====== | ||
- | The **IsConnected** function returns true if the NXT brick is currently connected to the phone/ | + | The **IsConnected** function returns true if the NXT brick is currently connected to the phone/ |
< | < | ||
Line 28: | Line 28: | ||
if (nxt.IsConnected()) { | if (nxt.IsConnected()) { | ||
btnConnect.SetText(" | btnConnect.SetText(" | ||
- | app.ShowPopup( " | + | app.ShowPopup(" |
} | } | ||
} | } |