Dual-Axis Compass icon Dual-Axis Compass — Dual-axis I2C magnetic sensor for EZ-B robots enabling magnetic direction sensing; requires short 2-3 in wiring. Third-party hardware. 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.