Self test boot program for testing icarus sensors

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_UARTConsole by Bluetooth Low Energy

Revision:
8:e9ae7a01d866
Child:
9:ed3636e1873f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ADXL362Sensor.cpp	Tue Jan 27 09:29:17 2015 +0000
@@ -0,0 +1,29 @@
+#include "ADXL362Sensor.h"
+#include "mbed.h"
+
+#ifndef LOG
+#define LOG(...) do printf(__VA_ARGS__); while (0)
+#endif
+
+ADXL362Sensor::ADXL362Sensor(SPI* spi_,DigitalOut* cs_) : BaseSensor() {
+    this->spi=spi_;
+    this->cs=cs_;
+    cs->write(1);
+}
+ 
+char* ADXL362Sensor::getSimpleName() {
+    return "ADXL362";
+}
+
+
+int ADXL362Sensor::verifyIntegrity(int* errorResult) {
+    LOG("Start verfication of ADXL362 Sensor");
+    return 0;
+}
+
+void ADXL362Sensor::getSensorDetails(sensor_t* sensorDetails) {
+
+}
+
+
+