iOSのBLEコントローラアプリ「RCBController」とmbed HRM1017を接続し、RCサーボモータを操作するテストプログラムです。
Dependencies: BLE_API_Native_IRC Servo mbed
Fork of BLE_RCBController by
- 古いBLEライブラリを使っているのでプラットフォームは”Nordic nRF51822”を選択してください。
- ライブラリ類はUpdateしないでください。コンパイルエラーになります。
うまく接続できない時は、iPhone/iPadのBluetoothをOFF->ONしてキャッシュをクリアしてみてください。
BLE_API_Native_IRC/hw/nRF51822n/nordic/nordic_global.h@0:8c643bfe55b7, 2014-07-10 (annotated)
- Committer:
- jksoft
- Date:
- Thu Jul 10 14:21:52 2014 +0000
- Revision:
- 0:8c643bfe55b7
??
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jksoft | 0:8c643bfe55b7 | 1 | #ifndef _NORDIC_GLOBAL_H_ |
jksoft | 0:8c643bfe55b7 | 2 | #define _NORDIC_GLOBAL_H_ |
jksoft | 0:8c643bfe55b7 | 3 | |
jksoft | 0:8c643bfe55b7 | 4 | /* There are no global defines in mbed, so we need to define */ |
jksoft | 0:8c643bfe55b7 | 5 | /* mandatory conditional compilation flags here */ |
jksoft | 0:8c643bfe55b7 | 6 | #define NRF51 |
jksoft | 0:8c643bfe55b7 | 7 | #define DEBUG_NRF_USER |
jksoft | 0:8c643bfe55b7 | 8 | #define BLE_STACK_SUPPORT_REQD |
jksoft | 0:8c643bfe55b7 | 9 | #define BOARD_PCA10001 |
jksoft | 0:8c643bfe55b7 | 10 | |
jksoft | 0:8c643bfe55b7 | 11 | #endif |