test
Dependencies: BLE_API nRF51822 mbed
Fork of KS7 by
Diff: main.cpp
- Revision:
- 15:544e0ce3c1d9
- Parent:
- 14:81347f8f0bda
- Child:
- 16:fc66feb533d0
--- a/main.cpp Thu Dec 17 04:02:23 2015 +0000 +++ b/main.cpp Thu Dec 17 04:12:30 2015 +0000 @@ -15,7 +15,7 @@ #define MANUFACTURER_NAME_STRING "Hacarus" // Manufacturer Name String - shall represent the name of the manufacturer of the device. #define MODEL_NUMBER_STRING "0001" // Model Number String - shall represent the model number that is assigned by the device vendor. #define SERIAL_NUMBER_STRING "000780c0ffeef00d" // Serial Number String - shall represent the serial number for a particular instance of the device. -#define FIRMWARE_REVISION_STRING "v1.00.004@rev0014" // Firmware Revision String - shall represent the firmware revision for the firmware within the device. +#define FIRMWARE_REVISION_STRING "v1.00.005@rev0015" // Firmware Revision String - shall represent the firmware revision for the firmware within the device. // Weight Scale Service (Original) #define UUID_WEIGHT_SCALE_SERVICE (0x181D) @@ -296,6 +296,7 @@ while(t.read_ms() < 100){ ble.waitForEvent(); } + t.stop(); // ticker処理 switch(led_mode){