fork to bluetooth account.
Dependencies: microbit-iBeacon
Fork of BluetoothWorldBeaconsClass by
Beacon Hands-on-Training project used as starter for class.
Libraries updated to use microbit-iBeacon -> microbit-dal-iBeacon to support both Eddystone and iBeacon formats.
main.cpp@9:69427df8fe06, 2017-10-17 (annotated)
- Committer:
- bluetooth_kyo
- Date:
- Tue Oct 17 21:10:31 2017 +0000
- Revision:
- 9:69427df8fe06
- Parent:
- 8:fe392760d077
add todo's and pcCom
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bluetooth_mdw | 0:580a61fd96a1 | 1 | #include "MicroBit.h" |
bluetooth_mdw | 0:580a61fd96a1 | 2 | |
bluetooth_mdw | 0:580a61fd96a1 | 3 | MicroBit uBit; |
bluetooth_mdw | 0:580a61fd96a1 | 4 | |
bluetooth_kyo | 9:69427df8fe06 | 5 | Serial pcCom(USBTX, USBRX); |
bluetooth_kyo | 9:69427df8fe06 | 6 | |
bluetooth_kyo | 9:69427df8fe06 | 7 | // TODO: global data and functions |
bluetooth_mdw | 0:580a61fd96a1 | 8 | |
bluetooth_mdw | 0:580a61fd96a1 | 9 | int main() |
bluetooth_mdw | 0:580a61fd96a1 | 10 | { |
bluetooth_kyo | 9:69427df8fe06 | 11 | pcCom.printf("mBit Beacon.\n\r"); |
bluetooth_kyo | 9:69427df8fe06 | 12 | |
bluetooth_kyo | 9:69427df8fe06 | 13 | // TODO: main processing code |
bluetooth_mdw | 0:580a61fd96a1 | 14 | } |