Skip to content
This repository was archived by the owner on Jul 21, 2024. It is now read-only.
This repository was archived by the owner on Jul 21, 2024. It is now read-only.

Call to noTone() without first calling tone() fails #7

@tysonmatanich

Description

@tysonmatanich

It would be nice if this was handled gracefully. Thanks!

#include <Tone32.h>

#define BUZZER_PIN 16
#define BUZZER_CHANNEL 0

void setup() {}

void loop() {
  noTone(BUZZER_PIN, BUZZER_CHANNEL);
  tone(BUZZER_PIN, NOTE_C4, 500, BUZZER_CHANNEL);
}

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