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

Dependencies:   microbit

Committer:
masakjm
Date:
Tue Mar 19 20:03:53 2019 +0000
Revision:
16:1f50a27806ee
Parent:
15:e0aa8c44cd70
Child:
18:0940af085381

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
masakjm 14:469243e10ce5 1 //=================================
masakjm 14:469243e10ce5 2 // microbit_switch_if_joy
masakjm 14:469243e10ce5 3 //=================================
masakjm 14:469243e10ce5 4 // BLE switch interface with GROVE joystic for micro:bit
masakjm 14:469243e10ce5 5 // It is intended for use with ios devices.
masakjm 14:469243e10ce5 6 //
masakjm 14:469243e10ce5 7 // The MIT License (MIT) Copyright (c) 2019 Masatomo Kojima
masakjm 14:469243e10ce5 8 //
masakjm 14:469243e10ce5 9 // LED message
masakjm 14:469243e10ce5 10 // S key code setting
masakjm 14:469243e10ce5 11 // C Conected
masakjm 14:469243e10ce5 12 // P success Pearing
masakjm 14:469243e10ce5 13 // F Fail pearing
masakjm 14:469243e10ce5 14 // E Error at sending data by ble
masakjm 14:469243e10ce5 15 // e Error at writting data to flash memory
masakjm 14:469243e10ce5 16 // I Error by Incorrect cording
masakjm 14:469243e10ce5 17 // G GROVE sensor connect error
masakjm 14:469243e10ce5 18 //
masakjm 14:469243e10ce5 19 // Please refer to the following site. (Japanese only)
masakjm 14:469243e10ce5 20 // http://mahoro-ba.net/files/workshop_text_switch_if_104.pdf
masakjm 14:469243e10ce5 21 // http://mahoro-ba.net/files/workshop_text_switch_if_401.pdf
masakjm 14:469243e10ce5 22 //
masakjm 14:469243e10ce5 23 // I refer to information written on the following sites.
masakjm 14:469243e10ce5 24 // (1)https://os.mbed.com/teams/microbit/code/microbit_presenter/
masakjm 14:469243e10ce5 25 // Licensed under the Apache License, Version 2.0
masakjm 14:469243e10ce5 26 //
masakjm 14:469243e10ce5 27 // (2)https://lancaster-university.github.io/microbit-docs/
masakjm 14:469243e10ce5 28 // The MIT License (MIT)
masakjm 14:469243e10ce5 29 // Copyright (c) 2016 British Broadcasting Corporation.
masakjm 14:469243e10ce5 30 //
masakjm 14:469243e10ce5 31
masakjm 14:469243e10ce5 32 Version
masakjm 14:469243e10ce5 33 JOY-190225 初版リリース(3SW-190215から派生)
masakjm 16:1f50a27806ee 34 JOY-190316 S=3のキー割り当てを変更
masakjm 16:1f50a27806ee 35 JOY-190320 安定性改善