BBC micro:bit

Microbit_Io_Pin_Simple

The Microbit_Io_Pin component lets users configure the BBC micro:bit’s analog pins for input and output, and to read, write, and request notifications for the I/O pin states.

Properties

get Microbit_Io_Pin_Simple1 BluetoothDevice

set Microbit_Io_Pin_Simple1 BluetoothDevice  to

Methods

call Microbit_Io_Pin_Simple1 ConfigurePinpinNumberanaloginput

call Microbit_Io_Pin_Simple1 ReadInputPinData

call Microbit_Io_Pin_Simple1 RequestPinDataUpdates

call Microbit_Io_Pin_Simple1 StopPinDataUpdates

call Microbit_Io_Pin_Simple1 WriteOutputPinDatapinNumberpinValue

call Microbit_Io_Pin_Simple1 WritePWMControlpinNumbervalueperiod

Events

when Microbit_Io_Pin_Simple1 InputPinDataReceived IO_Pin_Data do

when Microbit_Io_Pin_Simple1 WroteOutputPinData IO_Pin_Data do

when Microbit_Io_Pin_Simple1 WrotePWMControl PWM_Control_Field do