/* -----------------------------------------------------------------
------------------------- Codigo MultiHardWare ---------------------
----------------------------------------------------------------- */
#if defined(ESP8266)
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
ESP8266WiFiMulti wifiMulti;
#pragma message "Codigo para ESP8266!"
#elif defined(ESP32)
#include <WiFi.h>
#include <WiFiMulti.h>
WiFiMulti wifiMulti;
#pragma message "Codigo para ESP32!"
#elif defined(ARDUINO)
#pragma message "Codigo para Arduino basado AVR (UNO, MEGA, etc)!"
#else
#pragma message "No es ni ESP32 o ES8266 o AVR, que es?"
#endif
/* -----------------------------------------------------------------
-------------------------- Librerias y Objetos ---------------------
----------------------------------------------------------------- */
template<class T> inline Print &operator <<(Print &obj, T arg) {
obj.print(arg);
return obj;
}
/* -----------------------------------------------------------------
----------------declaracion de variables y constantes --------------
----------------------------------------------------------------- */
/* -----------------------------------------------------------------
------------------------ configuracion arduino ---------------------
----------------------------------------------------------------- */
void setup(){
}
/* -----------------------------------------------------------------
-------------------------- codigo principal---------------------
----------------------------------------------------------------- */
void loop(){
}
/* -----------------------------------------------------------------
-------------------------- funciones ---------------------
----------------------------------------------------------------- */