GithubHelp home page GithubHelp logo

microbitapps's Introduction

micro:bit Project

技術科の授業成果物用 リポジトリ

Requirement

プロジェクトの実行には以下のものが必要

  • 最新の Windows / macOS または Android 向けの Chrome
  • micro:bit v1 または それ以降のもの。

Setup

  • Chrome を起動し URL 入力欄に記入しアクセスする
chrome://flags/#enable-experimental-web-platform-features
  • Experimental Web Platform features を Enabled にし、アプリケーションを再起動。

  • 再起動後 F12 などで開発者ツールを開き、Console で次のように入力する

navigator.bluetooth

機能が正常に有効化されていれば Bluetooth オブジェクトが返却される。

Test

以下を Console で実行

navigator.bluetooth.requestDevice({ acceptAllDevices: true })

Bluetooth で周辺機器を検索して表示するダイアログが表示される。
これで準備完了。

SpecialThanks

@electricbaka様 : https://github.com/electricbaka
electricbaka/bluejelly : https://github.com/electricbaka/bluejelly

microbitapps's People

Watchers

gamma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.