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
Diff: DHT11.h
- Revision:
- 1:023e1eae2048
- Parent:
- 0:d2c18f736df1
diff -r d2c18f736df1 -r 023e1eae2048 DHT11.h --- a/DHT11.h Fri Apr 07 11:36:47 2017 +0000 +++ b/DHT11.h Tue Apr 18 14:08:50 2017 +0000 @@ -1,4 +1,5 @@ -#include "mbed.h" +#ifndef DHT11_H +#define DHT11_H //Class to manage DHT11 sensor class DHT11{ @@ -83,3 +84,6 @@ uint64_t data; // 64 bit variable for temporary data int iBit; }; + + +#endif \ No newline at end of file