BLE_HTS_Demo

This BLE_HTS_Demo program enables you to collect Temperature and Humidity data reading from sensor and transmit to collector device such as smartphone.

Below documents teach you how to install app that can connect and read data from our DELTA-DFCM-NNN40 development board. There are two versions, Android and iPhone.

/media/uploads/Marcomissyou/ios_app_for_environment_sensor_0518.pdf

/media/uploads/Marcomissyou/android_app_for_environment_sensor.pdf

Files at this revision

API Documentation at this revision

Comitter:
silviaChen
Date:
Tue Jul 18 09:48:42 2017 +0000
Parent:
9:2ff66a3d164a
Commit message:
Modify SDA/SCL configured pin to support NQ620 and NNN50 platform

Changed in this revision

hts221.cpp Show annotated file Show diff for this revision Revisions of this file
uvis25.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 2ff66a3d164a -r 5220f45c8ec1 hts221.cpp
--- a/hts221.cpp	Tue Jul 18 09:34:06 2017 +0000
+++ b/hts221.cpp	Tue Jul 18 09:48:42 2017 +0000
@@ -16,7 +16,7 @@
 #include <mbed.h>
 #include "hts221.h"
 
-I2C i2c(p26, p27);    //SDA, SCL
+I2C i2c(SDA, SCL);    //SDA, SCL
 
 /*lint ++flb "Enter library region" */
 
diff -r 2ff66a3d164a -r 5220f45c8ec1 uvis25.cpp
--- a/uvis25.cpp	Tue Jul 18 09:34:06 2017 +0000
+++ b/uvis25.cpp	Tue Jul 18 09:48:42 2017 +0000
@@ -16,7 +16,7 @@
 #include <mbed.h>
 #include "uvis25.h"
 
-I2C i2c_uvi(p26, p27);    //SDA, SCL
+I2C i2c_uvi(SDA, SCL);    //SDA, SCL
 
 static const char uvis25_expected_who_am_i = 0xCAU; //!< Expected value to get from WHO_AM_I register.