#include "datalogger_6c.h"
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
myACT.iniciaractuadores();
myRTC.RTC_init();
mySD.MicroSD_init();
SEN.iniciar_sensores();
myMQTT.setup_WiFi ( );
myMQTT.set_MQTT_server ( );
myMQTT.set_MQTT_callback ( );
Serial.println("Hello, ESP32!");
}
void loop() {
//myRTC.get_time();
// myRTC.show_time();
//mySD.SaveFile();
/*
myTSK.tarea_MSD();
myTSK.tarea_lcd();*/
myTSK.tarea_relay();
myTSK.actualizar_tareas();
//myTSK.tarea_dht();
// put your main code here, to run repeatedly:
}