Call to noTone() without first calling tone() fails
Opened this issue · 0 comments
tysonmatanich commented
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);
}