Brushless Motor Movement Panel icon Brushless Motor Movement Panel — Control brushless motor controllers (hoverboard-style) via EZ-B: configure direction, speed and optional brake ports for DIY robot movement. 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.");
}