Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By tius
#85033 Hope this is not a FAQ.

When doing everything event driven, you still need loop() to make the linker happy. Is there a negative impact of an empty loop() function in terms of cpu usage or power consumptions? Are there any alternatives?
User avatar
By tius
#85147 I'm not sure, but IMHO yield() is probably not required inside an empty loop() function as esp_schedule() is called within loop_wrapper() in core_esp8266_main.cpp (see also https://arduino-esp8266.readthedocs.io/ ... and-delays).

So I think an empty loop() should be fine :-)