EZ-B V3 Configuration icon EZ-B V3 Configuration Manage EZ-B hardware settings: edit Bluetooth name and apply updates to restore altered configurations. Try it →
 

Isconnected

EZB.isConnected(ezbIndex)

Parameters

ezbIndex Board index of the EZB to check if connected.

Returns

True if the EZB at board index ezbIndex is connected. False otherwise.

Description

Checks if the EZB at board index ezbIndex is connected or not.

Example

if (EZB.isConnected(0)) {
  print("EZB is connected.");
} else {
  print("EZB is not connected.");
}