sends an array of 12 values over BLE with each press of button 0. Could be modified to send IMU data
Fork of mbed-os-example-ble-Button by
mbed_app.json@46:dfdf7d1ebde2, 2017-10-03 (annotated)
- Committer:
- andrewbates11
- Date:
- Tue Oct 03 08:46:39 2017 +0000
- Revision:
- 46:dfdf7d1ebde2
- Parent:
- 41:7af66e9ba903
sends 12 bytes each button press
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 3:6f18b8269d65 | 1 | { |
mbed_official | 5:b630d2a88c51 | 2 | "config": { |
mbed_official | 5:b630d2a88c51 | 3 | "ble_button_pin_name": { |
mbed_official | 5:b630d2a88c51 | 4 | "help": "The pin name used as button in this application", |
mbed_official | 5:b630d2a88c51 | 5 | "macro_name": "BLE_BUTTON_PIN_NAME", |
mbed_official | 5:b630d2a88c51 | 6 | "required": true |
mbed_official | 5:b630d2a88c51 | 7 | } |
mbed_official | 5:b630d2a88c51 | 8 | }, |
mbed_official | 3:6f18b8269d65 | 9 | "target_overrides": { |
mbed_official | 5:b630d2a88c51 | 10 | "NRF51_DK": { |
mbed_official | 5:b630d2a88c51 | 11 | "ble_button_pin_name": "BUTTON1" |
mbed_official | 5:b630d2a88c51 | 12 | }, |
mbed_official | 5:b630d2a88c51 | 13 | "NRF52_DK": { |
mbed_official | 5:b630d2a88c51 | 14 | "ble_button_pin_name": "BUTTON1" |
mbed_official | 5:b630d2a88c51 | 15 | }, |
mbed_official | 3:6f18b8269d65 | 16 | "K64F": { |
mbed_official | 3:6f18b8269d65 | 17 | "target.features_add": ["BLE"], |
mbed_official | 3:6f18b8269d65 | 18 | "target.extra_labels_add": ["ST_BLUENRG"], |
mbed_official | 5:b630d2a88c51 | 19 | "ble_button_pin_name": "SW2" |
mbed_official | 3:6f18b8269d65 | 20 | }, |
mbed_official | 3:6f18b8269d65 | 21 | "NUCLEO_F401RE": { |
mbed_official | 3:6f18b8269d65 | 22 | "target.features_add": ["BLE"], |
mbed_official | 5:b630d2a88c51 | 23 | "target.extra_labels_add": ["ST_BLUENRG"], |
mbed_official | 5:b630d2a88c51 | 24 | "ble_button_pin_name": "USER_BUTTON" |
mbed_official | 41:7af66e9ba903 | 25 | }, |
mbed_official | 41:7af66e9ba903 | 26 | "DISCO_L475VG_IOT01A": { |
mbed_official | 41:7af66e9ba903 | 27 | "target.features_add": ["BLE"], |
mbed_official | 41:7af66e9ba903 | 28 | "target.extra_labels_add": ["ST_BLUENRG"], |
mbed_official | 41:7af66e9ba903 | 29 | "ble_button_pin_name": "USER_BUTTON" |
mbed_official | 3:6f18b8269d65 | 30 | } |
mbed_official | 3:6f18b8269d65 | 31 | } |
mbed_official | 3:6f18b8269d65 | 32 | } |