主要内容

disableSensor

Disable sensors available on the Sense HAT

Description

disableSensor (mysensehat) disables all the sensors on the senseHAT.

disableSensor (mysensehat, sensorName) disables the specified sensor on senseHAT.

Note

To generate C/C++ code for this function, you must have an Embedded Coder® license.

example

Examples

collapse all

You can disable the sensor on Sense HAT.

disableSensor (mysensehat)

Input Arguments

collapse all

Connection to a SenseHAT board, specified as a sensehat object.

The name of the sensor that you want to disable.

Extended Capabilities

expand all

Version History

Introduced in R2016b