Library to communicate with LDC1614
Dependents: Inductive_Sensor_3
Fork of LDC1101 by
Diff: LDC1101.cpp
- Revision:
- 24:6bf98c909dfb
- Parent:
- 23:8faeabb395db
- Child:
- 25:ae111662ee03
diff -r 8faeabb395db -r 6bf98c909dfb LDC1101.cpp --- a/LDC1101.cpp Mon Jan 18 15:40:36 2016 +0000 +++ b/LDC1101.cpp Mon Jan 25 09:11:05 2016 +0000 @@ -135,7 +135,7 @@ bool LDC1101::is_New_LHR_data(void) { - return(~(get_LHR_status() & 0x01)); + return(!(get_LHR_status() & 0x01)); } bool LDC1101::is_Oscillation_Error(void)