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
Diff: read_me.md
- Revision:
- 10:c7d53e4e0602
- Parent:
- 9:303d3628986a
- Child:
- 12:7772974713ac
diff -r 303d3628986a -r c7d53e4e0602 read_me.md --- a/read_me.md Mon Apr 25 19:34:39 2016 +0000 +++ b/read_me.md Tue Apr 26 20:15:41 2016 +0000 @@ -61,7 +61,7 @@ * xcs => Stop Radio Advertising (should be used when Advertising is active) Other Commands: - * button push => print a message on ble connection : "B:ON" + * button push => closes the connection/advertising and turn off the led. If push again reset the previous conditions; # References The mbed BLE API is meant to be used in projects on developer.mbed.org. Please see examples and sample project files there.