Inverted Pendulum icon Inverted Pendulum Balancing controller for Sainsmart v3 (and compatible) robots: PID tuning, real‑time telemetry, angle offset, movement and calibration via ARC. Try it →
 

Set

Digital.set(port, value, [ezbIndex])

Parameters

port Digital port to set the value of.
value Value to set the digital port to as a Boolean or integer.
ezbIndex (optional) Board index of the EZB to use.

Returns

Nothing

Description

Sets the value of the specified digital port to value.