Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
M5StickCPlus.ButtonM5.ButtonDown += (s, e) =>
{
Console.WriteLine("M5 ButtonDown");
M5StickCPlus.Buzzer.StartPlaying(440);
};
M5StickCPlus.ButtonM5.ButtonUp += (s, e) =>
{
Console.WriteLine("M5 ButtonUp");
M5StickCPlus.Buzzer.StopPlaying();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment