This is a basic program that provides the necessary BLE service to allow communications with the UPAS

Dependencies:   BLE_API mbed nRF51822 CronoDot EEPROM NCP5623BMUTBG ADS1115 BME280 Calibration_one MCP40D17 SDFileSystem LSM303 SI1145 STC3100

Fork of BLE_Button by Bluetooth Low Energy

Revision:
18:c911a8928d0b
Parent:
17:077712e4e5e3
Child:
19:9886f667a62a
--- a/main.cpp	Fri Dec 04 22:08:09 2015 +0000
+++ b/main.cpp	Tue Dec 08 05:03:24 2015 +0000
@@ -11,12 +11,12 @@
 #include "Adafruit_ADS1015.h"
 #include "MCP40D17.h"
 #include "BME280.h"
-#include "Calibration.h"
+#include "Calibration_one.h"
 
 //List of files not currently in this Code
-//#include "LSM303.h"
-//#include "SI1145.h"
-//#include "STC3100.h"
+#include "LSM303.h"
+#include "SI1145.h"
+#include "STC3100.h"
 //#include "US_Menu.h"
 
 
@@ -27,12 +27,13 @@
 EEPROM              E2PROM(p22, p20);
 CronoDot            RTC(p22, p20);  
 NCP5623BMUTBG       RGB_LED(p22, p20);   
-
-
-
+Serial              pc(USBTX, USBRX);
+LSM303              movementsensor(p22, p20);
+SI1145              lightsensor(p22, p20);
+STC3100             gasG(p22, p20);
 I2C                 i2c(p22, p20);
 Adafruit_ADS1115    ads(&i2c);
-Calibration         calibrations(1);     //Default serial/calibration if there are no values for the selected option
+Calibration         calibrations(7);     //Default serial/calibration if there are no values for the selected option
 
 
 BLE         ble;