BLE switch interface with GROVE joystic for micro:bit http://mahoro-ba.net/e2073.html

Dependencies:   microbit

readme.txt

Committer:
masakjm
Date:
2018-12-14
Revision:
5:80cb8f9db01e
Parent:
4:4fe5674bf409
Child:
6:bd39b12d4ac8

File content as of revision 5:80cb8f9db01e:

//=================================
// microbit_switch_if_3sw
//=================================
//    BLE switch interface with 3 tact switches or 3 touch sensors using micro:bit
//    It is intended for use with ios devices.
//
//    The MIT License (MIT)   Copyright (c) 2018 Masatomo Kojima
//
//  LED message
//    S  key code setting sw1,2
//    T  key code setting sw3
//    C  Conected
//    P  success Pearing
//    F  Fail pearing
//    E  Error at sending data by ble
//    e  Error at writting data to flash memory
//    I  Error by Incorrect cording
//
//  Please refer to the following site. (Japanese only)
//     http://mahoro-ba.net/e2036.html
//     http://mahoro-ba.net/e2039.html
//
//  I refer to information written on the following sites.
//    (1)https://os.mbed.com/teams/microbit/code/microbit_presenter/
//           Licensed under the Apache License, Version 2.0
//
//    (2)https://lancaster-university.github.io/microbit-docs/
//          The MIT License (MIT)
//          Copyright (c) 2016 British Broadcasting Corporation.
//

Version
3SW-180917  初版リリース
3SW-180922  軽微な修正
3SW-181125  "makey makey" style touch sensor に対応
            ボタンA:RIGHT_ARROW ボタンB:LEFT_ARROW に変更