IoTKitV3 / Mbed OS MQTTPublish

Dependencies:   QEI MFRC522 HTS221 IoTKit BMP180 MQTT

Fork of MQTTPublish by smd.iotkit2.ch

Files at this revision

API Documentation at this revision

Comitter:
stefan1691
Date:
Tue May 26 19:24:44 2020 +0000
Parent:
36:85831ebc80f0
Commit message:
Integration Nucleo F303RE Board inkl. BMP180 Sensor

Changed in this revision

BMP180.lib Show annotated file Show diff for this revision Revisions of this file
IoTKit.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BMP180.lib	Tue May 26 19:24:44 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/IoTKitV3/code/BMP180/#02f543f15108
--- a/IoTKit.lib	Sat Nov 02 18:32:07 2019 +0000
+++ b/IoTKit.lib	Tue May 26 19:24:44 2020 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/teams/IoTKitV3/code/IoTKit/#81d36fbbb566
+https://os.mbed.com/teams/IoTKitV3/code/IoTKit/#0a60a1530987
--- a/main.cpp	Sat Nov 02 18:32:07 2019 +0000
+++ b/main.cpp	Tue May 26 19:24:44 2020 +0000
@@ -19,9 +19,17 @@
 
 #endif
 
+#ifdef TARGET_NUCLEO_F303RE
+#include "BMP180Wrapper.h"
+#endif
+
 // Sensoren wo Daten fuer Topics produzieren
 static DevI2C devI2c( MBED_CONF_IOTKIT_I2C_SDA, MBED_CONF_IOTKIT_I2C_SCL );
+#ifdef TARGET_NUCLEO_F303RE
+static BMP180Wrapper hum_temp( &devI2c );
+#else
 static HTS221Sensor hum_temp(&devI2c);
+#endif
 AnalogIn hallSensor( MBED_CONF_IOTKIT_HALL_SENSOR );
 DigitalIn button( MBED_CONF_IOTKIT_BUTTON1 );
 
--- a/mbed_app.json	Sat Nov 02 18:32:07 2019 +0000
+++ b/mbed_app.json	Tue May 26 19:24:44 2020 +0000
@@ -21,7 +21,7 @@
             "value": "PTC14"
         },
         "wifi-debug": {
-            "value": false
+            "value": true
         }
     },
     "target_overrides": {