created separate function for hex to char
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of SS_SensePOC2P0_11Dec2017_USERPID by
Diff: ec_bp.cpp
- Revision:
- 36:00d96aa14658
- Parent:
- 20:7c64e6ecad76
diff -r 43133f017ed4 -r 00d96aa14658 ec_bp.cpp --- a/ec_bp.cpp Sat Jul 29 10:38:05 2017 +0000 +++ b/ec_bp.cpp Sat Jul 29 11:23:19 2017 +0000 @@ -329,9 +329,9 @@ ADS_START = 1; } -int readvalue() +uint32_t readvalue() { - int concatenate_value; + uint32_t concatenate_value; while(DRDY_BAR); doWrite() ; concatenate_value = ((value4<< 16)|(value5 <<8) |(value6));