« 返回首页
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
BluetoothDevice
– The BluetoothLE component connected to the micro:bit device (setter).


Methods

ReadInputPinData
– Method for ReadInputPinData

RequestPinDataUpdates
– Method for RequestPinDataUpdates

StopPinDataUpdates
– Method for StopPinDataUpdates


WritePWMControl
– Method for WritePWMControl

Events
InputPinDataReceived
– Event for InputPinDataReceived

WroteOutputPinData
– Event for WroteOutputPinData

WrotePWMControl
– Event for WrotePWMControl
