BLE switch interface with GROVE joystic for micro:bit http://mahoro-ba.net/e2073.html
readme.txt
- Committer:
- masakjm
- Date:
- 2019-02-15
- Revision:
- 9:4a977a37097a
- Parent:
- 6:bd39b12d4ac8
- Child:
- 10:2211b05c1dac
File content as of revision 9:4a977a37097a:
//================================= // microbit_switch_if_3sw //================================= // BLE switch interface with 3 tact switches for micro:bit // It is intended for use with ios devices. // // The MIT License (MIT) Copyright (c) 2019 Masatomo Kojima // // LED message // S key code setting P1, P2 // T key code setting P0 // 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 // http://mahoro-ba.net/e2065.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 に変更 3SW-190114 P1とP2のコード設定をSの値で、P0のコード設定をTの値でするように変更 P15は、P2と同じ動作 3SW-190215 ボタンA:'A' ボタンB:'B' に変更 P16は、P1と同じ動作