Self test boot program for testing icarus sensors
Dependencies: BLE_API mbed nRF51822
Fork of BLE_UARTConsole by
Diff: BaseSensor.h
- Revision:
- 10:3a24c970db40
- Parent:
- 9:ed3636e1873f
- Child:
- 13:ef0ce8fa871f
--- a/BaseSensor.h Tue Jan 27 12:30:51 2015 +0000 +++ b/BaseSensor.h Tue Jan 27 13:25:37 2015 +0000 @@ -14,11 +14,16 @@ #define SENSORS_DPS_TO_RADS (0.017453293F) /**< Degrees/s to rad/s multiplier */ #define SENSORS_GAUSS_TO_MICROTESLA (100) /**< Gauss to micro-Tesla multiplier */ + +#define DOWN 0 +#define UP 1 + /* Errors */ #define ERROR_WRONG_DEVICE_ID 1 #define ERROR_SEU_ERROR_DETECT 2 #define ERROR_DEVICE_SLEEPING 3 #define ERROR_SELF_TEST_FAILED 4 + /** Sensor types */ typedef enum {