#include "IoT_7A.h"
void setup(void) {
// put your setup code here, to run once:
Serial.begin(115200);
mqtt.setup_WiFi ( );
mqtt.set_MQTT_server ( );
mqtt.set_MQTT_callback ( );
RTC.RTC_init();
ACT.lcd_init();
MSD.MicroSD_init();
}
void loop(void) {
//RTC.get_time();
TASKS.actualizar_tareas(); //si se va a llamar todo el tiempo se pone en el loop
//TASKS.tarea_rtc();
// TASKS.tarea_lcd ();
//TASKS.tarea_msd();
TASKS.tarea_mqtt("oLA k ase");
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
mqtt.reconnect_MQTT ( );
}