Skip to content

ESP32 core panic #4

@lodesmets

Description

@lodesmets

Hey, I tried your code, but it kept crashing. After some research it seems that the problem is with _dir.

According to this, you aren't allowed to do float arithmetic in an interupt.
void WeatherMeters::timer() gets called on interrupt. And void WeatherMeters::timer() calls float WeatherMeters::adcToDir(uint16_t value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions