new hardware
This commit is contained in:
@@ -59,6 +59,8 @@ class Button
|
||||
// changed state.
|
||||
uint32_t lastChange();
|
||||
|
||||
uint8_t getPin(void) {return m_pin;}
|
||||
|
||||
private:
|
||||
uint8_t m_pin; // arduino pin number connected to button
|
||||
uint32_t m_dbTime; // debounce time (ms)
|
||||
|
||||
Reference in New Issue
Block a user