Device connection to a SPI device, specified as a device object, connected to the
SPI bus on the BBC micro:bit board. The SPI device object is created using the device function.
dataIn — Data to write and read scalar | vector
Data to read and write to the SPI device, specified as a scalar or vector. The range
of the values in the array is based on the precision.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.