Files
Arduino-Volume-Controller/include/commonFunctions.h
Lyubomir Penev 02a9c782c2
All checks were successful
Generate Documentation / build (push) Successful in 15s
Removed reader class
2025-11-02 14:10:50 +01:00

20 lines
400 B
C

#pragma once
/**
* @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);