# include <ezButton.h>
ezButton Button1(7);
ezButton Button2(6);
int count = 0;
void setup() {
Serial.begin(9600);
Button1.setDebounceTime(100);
Button2.setDebounceTime(100);
}
void loop() {
Button2.loop();
Button1.loop();
if (Button1.isPressed()) {
count += 10;
Serial.println(count);
}
if (Button2.isPressed()) {
count -= 10;
Serial.println(count);
}
}