Jurica Resetar / Mbed OS Lizzy

Dependencies:   aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT

Branch:
SimpleGATTExample
Revision:
22:7dae8496b97c
Parent:
19:2681edc2f2b9
--- a/bsp/bsp.cpp	Thu Sep 13 12:20:35 2018 +0200
+++ b/bsp/bsp.cpp	Thu Sep 13 15:14:14 2018 +0200
@@ -9,14 +9,11 @@
 #include "bsp.h"
 #include "aconnoConfig.h"
 
-lisPower_t lisPower = LIS_OFF;
-char memsI2CAddress = I2C_ADDRESS;
-DigitalOut lisPowerPin(ACC_POWER_PIN);
-InterruptIn lisInt1Pin(INT_PIN1);
-//InterruptIn INT2(INT_PIN2);
-I2C i2c(I2C_DATA,I2C_CLK);
+DigitalOut redLed(RED_LED_PIN);
+DigitalOut greenLed(GREEN_LED_PIN);
 
-void lisPowerCtrl(lisPower_t power)
+void bspInit()
 {
-	lisPowerPin = power;
+	redLed = LED_OFF;
+	greenLed = LED_OFF;
 }