micro:bit x Web Bluetooth APIの最終章。 最後はLED micro:bitのBLEを色々いじってきました。 relativelayout.hatenablog.com relativelayout.hatenablog.com relativelayout.hatenablog.com relativelayout.hatenablog.com ちょっとキリがないので、今回のLED制御で一旦シメたいと思います。 BBC micro:bit バルク商品 正規品 メディア: micro:bit側は、BLE系のサービスを開始するだけ 相変わらず、Bluetooth系のサービスをすべて初期化するコードです。 今回も変える必要がないので、このままの実装で進めます。 bluetooth.startAccelerometerService() bluetooth.startB
![micro:bitのLEDをWeb Bluetooth APIで制御してみる - Androidのメモとか](https://cdn-ak-scissors.b.st-hatena.com/image/square/683709875c329f04b359fa4d67418221ca67d35c/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak2.f.st-hatena.com%2Fimages%2Ffotolife%2Fr%2Frelativelayout%2F20010221%2F20010221194920.jpg)