Skip to content

noise after tone remains #886

Closed
Closed
@ChrisVeigl

Description

@ChrisVeigl

i found that the connected buzzer emits a barely noticable noise after a call to

void tone(uint8_t pin, unsigned int frequency, unsigned long duration)

i think it could fix it by adding noTone(tone->pin);
after line

pio_sm_set_enabled(tone->pio, tone->sm, false);

PS: if you prefer i can fork/pull request

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