MPU9150 Accelerometer, Gyro, Temperature, Compass icon MPU9150 Accelerometer, Gyro, Temperature, Compass MPU9150 ARC control reads compass, gyro, accelerometer and temperature via I2C, initializes and sets EZ-Script variables on demand. Try it →
 

Get

Digital.get(port, [ezbIndex])

Parameters

port Digital port to read from.
ezbIndex (optional) Board index of the EZB to read from.

Returns

True if the specified digital port is 1 (high). False if the digital port is 0 (low).

Description

Reads and returns the digital value from the specified digital port.