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 previa | ||
| personas:brolin:proyectos:plataforma_iot [2017/05/31 22:19] – brolin | personas:brolin:proyectos:plataforma_iot [2017/06/01 01:15] (actual) – brolin | ||
|---|---|---|---|
| Línea 7: | Línea 7: | ||
| pio lib install thinger.io o en platformio.ini agregar línea lib_deps = thinger.io | pio lib install thinger.io o en platformio.ini agregar línea lib_deps = thinger.io | ||
| + | |||
| + | **Código prueba ** https:// | ||
| **SKETCH OVERVIEW** | **SKETCH OVERVIEW** | ||
| Línea 46: | Línea 48: | ||
| 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 68: | ||
| 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** | ||
| Línea 79: | Línea 87: | ||
| * Dashboards | * Dashboards | ||
| * API Explorer | * API Explorer | ||
| + | |||
| + | ===== ESP8266 Arduino IDE ===== | ||
| + | |||
| + | https:// | ||
personas/brolin/proyectos/plataforma_iot.1496269197.txt.gz · Última modificación: por brolin
