Main Content
read
Read data from accelerometer and magnetometer sensors, or read data from an I2C device, connected to BBC micro:bit board
Syntax
Description
reads data from both the accelerometer and magnetometer sensors connected to the BBC
micro:bit board, specified as a data
= read(microbitObj
)microbit
object. The data is returned as
a timetable
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017b