MPU6050 Tilt Angle Sensor icon MPU6050 Tilt Angle Sensor Flash Arduino Uno firmware to read DHT11 temp/humidity and MPU6050 IMU simultaneously; provides $AngleX, $AngleY and $AngleZ variables. Try it →
 

Read

COM.read(port, bytesToRead)

Parameters

port COM port name as a string.
bytesToRead Number of bytes to read from the COM port.

Returns

A byte array of length bytesToRead containing the data read from the COM port.

Description

Reads bytesToRead bytes from the COM port and returns it in a byte array.