ESP8266 - Como acionar uma GPIO (LED, por exemplo) usando a plataforma?


#1

Sou novato nessa plataforma e dúvidas são muitas. Uma delas é como acionar um LED através de um ESP8266. De forma geral, achei um pouco confuso, o código do exemplo, para realizar sozinho o experimento.
Se alguém puder me ajudar, ficarei muito agradecido.

Am newbie on this platform and doubts are many. One is how to trigger an LED through a ESP8266. Overall, I found a little confusing, the example code to perform the experiment alone. If anyone can help me, I will be very grateful.

#2

Hi @rwteixeira -

Thanks for posting!

We have a small app note that addresses platform-to-device-communication in our Help Center: https://support.exosite.com/hc/en-us/articles/200463830-Pushing-Data-to-Your-Device

The article goes into greater detail, through there are a couple of options to get information from the platform to your device. Generally there are three ways:

Any of these methods would be a valid way for your device to detect whether or not it should have its lightbulb on.

Feel free to post back if you have questions

Happy to help,
-Martin