This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2016-06-03 06:12:29 +00:00
|
|
|
/* debounce() sets debounced and returns debouncedChanged. All variables are bitwise.
|
|
|
|
For parameter, 1 means pressed, 0 means released.
|
|
|
|
For return, 1 means debounced changed.
|
2016-06-02 15:58:33 +00:00
|
|
|
*/
|
|
|
|
#include "Row.h"
|
|
|
|
|
|
|
|
uint8_t Row::debounce(const uint8_t rowState)
|
|
|
|
{
|
2016-06-03 06:12:29 +00:00
|
|
|
return debouncer.debounce(rowState, debounced);
|
2016-06-02 15:58:33 +00:00
|
|
|
}
|