![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Catie fork
Dependencies: SDFileSystem X_NUCLEO_IKS01A1
Fork of ATT_AWS_IoT_demo by
Diff: main.cpp
- Revision:
- 28:a31312c9756d
- Parent:
- 24:224c07ec3bd0
- Child:
- 29:537df716ba0b
--- a/main.cpp Tue Feb 07 16:18:57 2017 +0000 +++ b/main.cpp Wed Apr 05 08:32:05 2017 +0000 @@ -476,11 +476,11 @@ // Initialize sensors INFO("Init sensors..."); - void hts221_init(void); - i = hts221.begin(); - if(!i) { - WARN(RED "HTS221 NOT DETECTED!!\n\r"); - } + //void hts221_init(void); + //i = hts221.begin(); + //if(!i) { + // WARN(RED "HTS221 NOT DETECTED!!\n\r"); + //} // Setup SW3 button to falling edge interrupt INFO("Init interrupts..."); @@ -570,8 +570,8 @@ } // Read sensor data - temperature = CTOF(hts221.readTemperature()); - humidity = hts221.readHumidity(); + temperature = 24.5; + humidity = 60; INFO("\n=======================================================================================\n"); // Initialize JSON shadow document