Skip to content

failure to fetch data results in looping failures #5

Closed
@jerryneedell

Description

@jerryneedell

While running the esp32spi_cheerlights.py example I have occasionally found it stuck in a loop of failures at https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI/blob/master/examples/esp32spi_cheerlights.py#L49

It typically runs for several hours before this failure occurs.

A simple workaround appears to be to add an

esp.reset()

when this error is detected - I am running a long test to see if I can catch the error and verify that it recovers. adding the esp.reset() before every "get" as a test seemed to work OK.

If this works - I'll put in PR's for the examples

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