datacollector-test/lib/Input/input_controller.h

20 lines
323 B
C
Raw Normal View History

2022-08-08 15:43:30 +02:00
#pragma once
#include <Arduino.h>
class InputController
{
public:
static InputController *getInstance();
protected:
int btnConfirm = 0;
int isBtnConfirmPressed = 0;
int btnPressStartTime;
int btnPressTime = 0;
private:
static InputController *instance;
InputController();
int setup();
};