#include "btn.h"
button btn;
void setup() {
// put your setup code here, to run once:
pinMode(A0, INPUT_PULLUP);
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
btn.press(A0);
}
#include "btn.h"
button btn;
void setup() {
// put your setup code here, to run once:
pinMode(A0, INPUT_PULLUP);
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
btn.press(A0);
}