Dependencies: SSD1306 TSL2561 mbed DHT22 OneWire
Revision 4:5ba5931b57db, committed 2017-12-04
- Comitter:
- Aureb29
- Date:
- Mon Dec 04 13:06:53 2017 +0000
- Parent:
- 3:4e142bba2a8e
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4e142bba2a8e -r 5ba5931b57db main.cpp --- a/main.cpp Fri Nov 10 16:47:25 2017 +0000 +++ b/main.cpp Mon Dec 04 13:06:53 2017 +0000 @@ -51,20 +51,20 @@ owDevice->generateId(_id); temp_sol = (int) owDevice->sendGetCommand(GET_TEMPERATURE); - oled.printf("OneWire: device #%s = %.4f*C\r\n", _id, (float) owDevice->sendGetCommand(GET_TEMPERATURE)); + //oled.printf("OneWire: device #%s = %.4f*C\r\n", _id, (float) owDevice->sendGetCommand(GET_TEMPERATURE)); delete owDevice; } a='%'; - oled.set_font(bold_font, 8); - oled.scroll_up(); - oled.update(); - Capt_temp_hum.sample(); - oled.printf("Moisture is %2.2f\r\n", (float) moisture); - oled.printf("Lum : %+4.1f lux\r\n", lum.lux()); - oled.printf("Temp : %d oC\r\n", temp); - oled.printf("Humidite : %d%c\r\n", hum, a); - oled.printf("Temp sol : %d\r\n", temp_sol); - oled.printf("\n"); + //oled.set_font(bold_font, 8); + //oled.scroll_up(); + //oled.update(); + //Capt_temp_hum.sample(); + //oled.printf("Moisture is %2.2f\r\n", (float) moisture); + //oled.printf("Lum : %+4.1f lux\r\n", lum.lux()); + //oled.printf("Temp : %d oC\r\n", temp); + //oled.printf("Humidite : %d%c\r\n", hum, a); + //oled.printf("Temp sol : %d\r\n", temp_sol); + //oled.printf("\n"); sigfox.printf("AT$SF="); sigfox.printf("%02x ", temp); sigfox.printf("%02x ", hum);