Software of my humidity rate controller internship project
Dependencies: DS1307 TextLCD mbed
Fork of HRController by
Diff: main.cpp
- Revision:
- 2:37cf942d5ee6
- Parent:
- 1:b84b10191a28
- Child:
- 3:e800a8237746
--- a/main.cpp Mon Jun 18 08:48:55 2018 +0000 +++ b/main.cpp Tue Jun 19 07:57:28 2018 +0000 @@ -1,7 +1,5 @@ #include "mbed.h" -#include "stdlib.h" #include "TextLCD.h" -#include "stdio.h" Serial pc(USBTX, USBRX); // tx, rx TextLCD lcd(PA_10,PB_3,PB_5,PB_4,PB_10,PA_8); // rs, e, d4-d7 @@ -31,7 +29,7 @@ if (fp == NULL) { // Si on n'arrive pas a ouvrir le fichier dans la carte SD lcd.cls(); lcd.printf("Erreur carte SD"); // On affiche sur l'ecran LCD qu'il y a une erreur - } else { + } else { // code d'après : https://os.mbed.com/users/zhouer/code/NUCLEO-DS3231/file/7e3176a65913/main.cpp/ // int ret; Car on en a pas besoin // int sec, Car on en a pas besoin int min, hour, day, date, month, year;