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
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
6:a574229993b8 | 2016-03-31 | Some new features included:; -> signals the sender and receiver messages; -> echo for message sent from RedBear App | File Diff Annotate |
5:ee7e1a9e1985 | 2016-03-31 | Small corrections | File Diff Annotate |
4:d7872f84c03c | 2016-03-31 | Working version for Ble Nano (2015) | File Diff Annotate |
3:b3f6c612b603 | 2016-01-07 | Update libraries. | File Diff Annotate |
2:4b66b69c7ecb | 2015-07-27 | Update libraries | File Diff Annotate |
1:1c058e553423 | 2014-10-31 | Add lisence and brief descriptions | File Diff Annotate |
0:cffe8ac1bdf0 | 2014-10-31 | First commit | File Diff Annotate |