Skip to content

display.clear() does not stop looping animations #789

@davidtkaye

Description

@davidtkaye

If a display.show or display.scroll function is called with the loop parameter set to True and the wait parameter set to False then an infinite loop of text/animation is shown on the display. Any subsequent show or scroll function call will break this loop, however the display.clear function will not do this. Therefore to stop an animation and clear the screen two function calls are needed (or a custom image of all 0s).

This workaround is fine but not totally intuitive: the behaviour of the display.clear function should ideally stop any running animation, or if not there should be a straightforward option to do this.

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