Closed gaetancollaud closed 3 years ago
I wasn't sure about the deepsleep parameter, because I never used it. Is it really microseconds? If yes then LGTM :)
Yes, it's in microseconds. I had to go into the source code to find it. That's why I wanted to improve the doc.
There is also a possibility to use a pin as an interrupt to wake up. But I didn't go too much into details. I just wanted to have a simple example with a timer.
Source: https://github.com/homieiot/homie-esp8266/blob/develop/src/Homie.hpp#L73
I wasn't sure about the deepsleep parameter, because I never used it. Is it really microseconds? If yes then LGTM :)