Continuous Servo Movement Panel icon Continuous Servo Movement Panel Control two continuous servos for bidirectional robot movement with speed sliders, configurable ports/stop values, testing and brake/coast options. 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.");
}