class Button 
{
private:
  //	Properties:
  const float time      = 5;
  const int expectedCPS = 8;

  int expectedClicks;

  //	Pins:
  int out;
  int in;

  int red;
  int orange;
  int green;

  //	Cache:
  bool alreadyPressed   = false;
  float timePressed     = 0;
  float clicksPerSecond = 0;

public:
  float timePassed  = 0;
  int clicks        = 0;

  Button(const int outPin, const int inPin, const int redPin, const int orangePin, const int greenPin);

  bool measure();
};
