Skip to content

Standard Arduino practices cause WDT to reset esp8266 #540

Closed
@Makuna

Description

@Makuna

One standard practice in many examples is to wait for serial input in a tight loop like ...

while (!Serial.available());

This will cause the WDT to trigger.

Can we insert a yield inside the available() when it would return false so that this common code fragment would not cause a processor reset?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions