personas:brolin:proyectos:plataforma_iot
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
personas:brolin:proyectos:plataforma_iot [2017/05/31 22:19] – brolin | personas:brolin:proyectos:plataforma_iot [2017/05/31 22:21] – brolin | ||
---|---|---|---|
Línea 46: | Línea 46: | ||
Thinger.io library provides extensive logging of its activities, which is especially useful when one needs to troubleshoot authentication and Wi-Fi connectivity issues. Include the following definition in your sketch, but make sure it comes first, before any other includes (it was reported to cause crashes on some boards otherwise). | Thinger.io library provides extensive logging of its activities, which is especially useful when one needs to troubleshoot authentication and Wi-Fi connectivity issues. Include the following definition in your sketch, but make sure it comes first, before any other includes (it was reported to cause crashes on some boards otherwise). | ||
+ | < | ||
#define _DEBUG_ // the rest of your sketch goes here | #define _DEBUG_ // the rest of your sketch goes here | ||
+ | </ | ||
It is also necessary to enable Serial communication, | It is also necessary to enable Serial communication, | ||
+ | < | ||
void setup() { | void setup() { | ||
Serial.begin(115200); | Serial.begin(115200); | ||
} | } | ||
+ | </ | ||
**ESP8266 DEEP SLEEP AND SMARTCONFIG** | **ESP8266 DEEP SLEEP AND SMARTCONFIG** | ||
Línea 62: | Línea 66: | ||
However, some boards chose to wire a built-in LED to the same D0 pin, and will go into a crash loop when using ThingerSmartConfig class, which uses the LED as a debugging aid at runtime. The solution is to use an overloaded constructor and disable its use of the LED. | However, some boards chose to wire a built-in LED to the same D0 pin, and will go into a crash loop when using ThingerSmartConfig class, which uses the LED as a debugging aid at runtime. The solution is to use an overloaded constructor and disable its use of the LED. | ||
+ | < | ||
ThingerSmartConfig thing(USERNAME, | ThingerSmartConfig thing(USERNAME, | ||
| | ||
| | ||
| | ||
- | + | </ | |
+ | |||
**INTERACTING** | **INTERACTING** | ||
personas/brolin/proyectos/plataforma_iot.txt · Última modificación: 2017/06/01 01:15 por brolin