-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
This example code works with the Arduino Uno:
#include <Tone.h>
Tone tone1;
void setup()
{
tone1.begin(13);
tone1.play(NOTE_A4);
}
void loop()
{
}
But I get this error below with the Arduino Nano Every (probably because of differences between ATmega328P and the ATmega4809).
Tone.cpp:560:37: error: 'OCIE2A' was not declared in this scope
returnvalue = (TIMSK2 & (1 << OCIE2A));
Any help?

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels