#include "Datalogger.h"

void setup ( void ) {
  // put your setup code here, to run once:
  Serial.begin(115200);
  MYRTC.RTC_init ( );
  MSD.MicroSD_init();
  ACT.init_lcd();
  SEN.sensorsInit();
  ACT.init_relay();
  //ACT.mostrar_lcd();
  Serial.println("Hello, ESP32!");
}

void loop ( void ) {
  // put your main code here, to run repeatedly:
  //MYRTC.get_time ();
  //MYRTC.format_date();
  //MYRTC.format_time();
  //MYRTC.show_time ();
  //MSD.SaveFile();
  //MSD.ReadFile();
  TSK.actualizar_tareas();
  //MYJSON.make_json();
  TSK.tarea_MSD();
  //TSK.tarea_LDR();
  //TSK.tarea_relay();
  

}
$abcdeabcde151015202530354045505560fghijfghij
GND5VSDASCLSQWRTCDS1307+
NOCOMNCVCCGNDINLED1PWRRelay Module