This program is given as a sample exercise. It has all the functionality to be used on a BLE Nano device and to connect to SimpleChat application for Android/ iOS from RebBearLab. The aim of the exercise is to read a voltage and then to convert as good as possible the appropriate temperature in Celsius degrees. AI5 pin is considered for reading the voltage for the termistor. The ADC of AI5 is called every second. The function to be updated : update_measurements() from main.cpp file.

Dependencies:   BLE_API mbed nRF51822

Fork of nRF51822_DataLogger_with_Chat by Valentin Tanasa

Revision:
7:609dff35b660
Parent:
6:a574229993b8
Child:
8:f28ad4600b0f
diff -r a574229993b8 -r 609dff35b660 main.cpp
--- a/main.cpp	Thu Mar 31 16:29:40 2016 +0000
+++ b/main.cpp	Thu Mar 31 16:36:01 2016 +0000
@@ -146,19 +146,3 @@
         ble.waitForEvent(); 
     }
 }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-