Code supports writing to the SD card as well as working with the Volckens group smartphone apps for the mbed HRM1017
Dependencies: ADS1115 BLE_API BME280 Calibration CronoDot EEPROM LSM303 MCP40D17 NCP5623BMUTBG SDFileSystem SI1145 STC3100 mbed nRF51822
Fork of UPAS_BLE_and_USB by
Diff: main.cpp
- Revision:
- 9:2057c3779b6a
- Parent:
- 8:204c21adf693
- Child:
- 10:f9cb61b29340
diff -r 204c21adf693 -r 2057c3779b6a main.cpp --- a/main.cpp Tue May 12 17:29:53 2015 +0000 +++ b/main.cpp Thu May 14 14:23:28 2015 +0000 @@ -72,7 +72,7 @@ Year = ((Year&0xF0)>>4)*10 + (Year&0x0F); //Year Month = ((Month&0x10)>>4)*10 + (Month&0x0F); //Month Date = ((Date&0x30)>>4)*10 + (Date&0x0F); //Date - Hour = ((Hour&0x10)>>4)*10 + (Hour&0x0F); //Hour + Hour = ((Hour&0x30)>>4)*10 + (Hour&0x0F); //Hour Minutes = ((Minutes&0x70)>>4)*10 + (Minutes&0x0F); //Minutes Seconds = ((Seconds&0x70)>>4)*10 + (Seconds&0x0F); //Seconds }