Added comments
All checks were successful
Generate Documentation / build (push) Successful in 21s

This commit is contained in:
2025-11-01 19:20:01 +01:00
parent 1837e09bc1
commit 0cc6f49130
4 changed files with 42 additions and 1 deletions

View File

@@ -11,6 +11,21 @@ private:
int lastPin;
public:
/**
* @brief Function used to read state of a normally open(LOW) button
*
* @param buttonPin The pin of the button
* @return true
* @return false
*/
bool debounceReadNO(int buttonPin);
/**
* @brief Function used to read state of a normally closed(HIGH) button
*
* @param buttonPin The pin of the button
* @return true
* @return false
*/
bool debounceReadNC(int buttonPin);
};

View File

@@ -1,6 +1,6 @@
#pragma once
const int DEBOUNCE_DELAY = 200;
const int DEBOUNCE_DELAY = 35;
const int USER_STEPS = 2;
const int STAFF_STEPS = 16;