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");
Led.Write(System.Device.Gpio.PinValue.Low);
};
M5StickCPlus.ButtonM5.ButtonUp += (s, e) =>
{
Console.WriteLine("M5 ButtonUp");
Led.Write(System.Device.Gpio.PinValue.High);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment