Microbit_Uart sensor provides the ability to read from and write strings to the BBC micro:bit's serial UART port.
屬性BluetoothDevice – 連接至micro:bit 裝置之BluetoothLE元件。
方法RequestTXCharacteristic – Requests notifications of messages received from the micro:bit's serial UART。新數值會由TXCharacteristicReceived 事件回傳.
StopTXCharacteristicUpdates – 停止接收來自micro:bit的serial UART的更新。請注意可能會有來自裝置的pending messages,所以仍有可能觸發TXCharacteristicReceived 事件。
事件 |
|