Project aiming to do a Bluetooth Low Energy IoT devices, which measure temperature and humidity. Bluetooth achieved with the IDB05A1 shield. Temperature/humidity achieved with a DHT11 sensor. Project working, tested on an STM32 L476 board.
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Revision 2:c0bd998cb02f, committed 2017-04-18
- Comitter:
- ledonger
- Date:
- Tue Apr 18 14:09:50 2017 +0000
- Parent:
- 1:023e1eae2048
- Commit message:
- New name;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 023e1eae2048 -r c0bd998cb02f main.cpp --- a/main.cpp Tue Apr 18 14:08:50 2017 +0000 +++ b/main.cpp Tue Apr 18 14:09:50 2017 +0000 @@ -9,7 +9,7 @@ DigitalOut LED(LED1, 0); -const static char DEVICE_NAME[] = "LED"; +const static char DEVICE_NAME[] = "DHT11"; static const uint16_t uuid16_list[] = {DHT11Service::DHT11_UUID}; DHT11Service *dht11ServicePtr;//Bluetooth service that manage information and ble updates