BBC micro:bit

Microbit_Temperature

The Microbit_Temperature sensor provides App Inventor users with the ability to configure the BBC micro:bit’s on-board temperature sensor and receive one or more temperature samples via the appropriate methods.

The temperature sensor’s reportrate, or period, determines how frequently data will be sent to App Inventor.

Properties

get Microbit_Temperature1 BluetoothDevice

set Microbit_Temperature1 BluetoothDevice  to

Methods

call Microbit_Temperature1 ReadTemperature

call Microbit_Temperature1 ReadTemperaturePeriod

call Microbit_Temperature1 RequestTemperatureUpdates

call Microbit_Temperature1 StopTemperatureUpdates

call Microbit_Temperature1 WriteTemperaturePeriodtemperature_period_value

Events

when Microbit_Temperature1 TemperaturePeriodReceived temperature_period_value do

when Microbit_Temperature1 TemperatureReceived temperature_value do

when Microbit_Temperature1 WroteTemperaturePeriod temperature_period_value do