AdiSense1000_V21 MBED API

Fork of AdiSense1000 by PoC_Team

Branch:
v2.0
Revision:
29:57edca10d78c
Parent:
27:567abf893938
Child:
30:119ff4f3aef6
--- a/main.cpp	Mon Mar 26 20:28:05 2018 +0100
+++ b/main.cpp	Tue May 22 13:45:24 2018 +0100
@@ -62,6 +62,7 @@
 #include "inc/adi_sense_log.h"
 #include "common/utils.h"
 
+extern ADI_SENSE_CONFIG cjc0_thermistor_10k_ntc_config;
 extern ADI_SENSE_CONFIG sensor0_rtd_2w_pt100_config;
 extern ADI_SENSE_CONFIG sensor0_microphone_config;
 extern ADI_SENSE_CONFIG sensor0_diode_2c_config;
@@ -80,6 +81,7 @@
 extern ADI_SENSE_CONFIG spi0_honeywellTrustability_config;
 extern ADI_SENSE_CONFIG spi0_adiAdxl362_config;
 extern ADI_SENSE_CONFIG spi0_adiAdxl355_config;
+extern ADI_SENSE_CONFIG uart_cozirCO2_config;
 extern ADI_SENSE_CONFIG multichannel_continuous_config;
 extern ADI_SENSE_CONFIG multichannel_multicycle_config;
 extern ADI_SENSE_CONFIG multichannel_singlecycle_config;
@@ -102,6 +104,12 @@
         .alertPin     = D4,
         .datareadyPin = D5,
     },
+    .log = {
+        .txPin        = PA_11,
+        .rxPin        = PA_12,
+        .baudRate     = 115200,
+        .disableLogs  = false,
+    },
 };
 
 int main()