connecting micro:bit and Web via BLE - Bluetooth Low Energy
マイクロビットとGoogle(グーグル) Chrome(クローム)ブラウザをBluetooth(ブルートゥース)でつなぎます。 ブラウザからマイクロビットをコントロールしたり、マイクロビットのセンサーの値(あたい)をブラウザに表示(ひょうじ)したりできます。
マイクロビットとGoogle(グーグル) Chrome(クローム)がひつようです。
OS X Yosemite 以上がひつようです。
Android 6.0 Marshmallow 以上がひつようです。
Windows 8.1 以上で、Google Chrome (バージョン70以上)がひつようです。
参考(さんこう):https://github.com/WebBluetoothCG/web-bluetooth/blob/master/implementation-status.md
マイクロビットでは、以下のプログラムを動かして、ブルートゥース通信(つうしん)ができるようにします。
https://makecode.microbit.org/_TF8D3VL82WVt
https://makecode.microbit.org/_01rV92fVMLiw
Google Chromeブラウザでは、それぞれ以下URL(ユーアールエル)をひらいてプログラムを実行(じっこう)します。
https://lancaster-university.github.io/microbit-docs/resources/bluetooth/bluetooth_profile.html