#include "DataLogger.h"
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
Myrtc.RTC_init();
MSD.MicroSD_init();
ACT.init_LCD();
//ACT.show_LCD();
SEN.sensors_init();
}
void loop() {
/*Myrtc.get_time();
// put your main code here, to run repeatedly:
Myrtc.show_time();
MSD.SaveFile();
MSD.ReadFile();*/
//Json.FAC_Json();
//Serial.println(Json.FAC_Json("Hola", "Test"));
/*Myrtc.get_time();
MSD.SaveFile(Json.FAC_Json(Myrtc.format_time(), Myrtc.format_date()));
MSD.ReadFile();*/
Tasks.actualizar_tareas();
//Tasks.tarea_RTC();
//Tasks.tarea_MSD();
Tasks.tarea_LCD();
Tasks.tarea_SENS();
// delay(4000); // this speeds up the simulation
}