Skip to content

Divide by zero error in flicker when the random value = FIRE_MIN #5

@DougLeary

Description

@DougLeary

When the random flicker value for an F led exactly equals FIRE_MIN the formula for making it extra dim creates a divide by zero error. Seems like this shouldn't work at all but it does fine on an Arduino. I discovered the error while trying to make it work on an ESP.

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