Avatar JD icon Avatar JD 3D Avatar JD simulator with bidirectional servo sync, action sequencing, $SIM_ scripting, EZ-B emulator support and pose/movement visualization 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.");
}