Lewansoul Servo icon Lewansoul Servo Control LewanSoul LX-16A servos via ARC (EZ-B v4/IoTiny): assign virtual ports, read positions, set speeds, and enable continuous rotation. 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.");
}