A collection of Analog Devices drivers for the mbed platform
For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all
Diff: examples/adxl362_example/main.cpp
- Revision:
- 20:9790e53d6e26
- Parent:
- 19:fb92949e59c9
- Child:
- 21:a8023e5e97be
--- a/examples/adxl362_example/main.cpp Tue May 17 14:21:17 2016 +0300
+++ b/examples/adxl362_example/main.cpp Tue May 17 15:15:19 2016 +0300
@@ -99,7 +99,7 @@
#if(ADXL_INT_SEL == INTACC_PIN_1)
if (adxl362.get_int1()) {
#elif(ADXL_INT_SEL == INTACC_PIN_2)
- if(adxl362.get_int2()) {
+ if(adxl362.get_int2()) {
#endif
if (ui8awake == 0) {
ui8awake = 1;
@@ -111,7 +111,7 @@
lcd.display_string(1, 60, (int8_t *) "[mG]");
lcd.display_string(2, 60, (int8_t *) "[mG]");
-#if TEMP_ADC == 1
+#if (TEMP_ADC == 1)
lcd.display_string(3, 60, (int8_t *)"[ADC]");
#else
lcd.display_string(3, 60, (int8_t *) "[C]");
@@ -234,6 +234,5 @@
}
}
}
-
}
CN0357 - Toxic gas measurement
CN0216 - Weight Scale