class of Buttons -isPressed -wasPressed -notPressed -LongPress (Timer)

Revision:
8:6c8a00baae91
Parent:
5:6eefa28ac3fd
diff -r 09fb38cf8526 -r 6c8a00baae91 Button.h
--- a/Button.h	Tue Jun 04 14:19:35 2019 +0000
+++ b/Button.h	Fri Apr 17 14:05:36 2020 +0000
@@ -13,7 +13,7 @@
     public:                                                                     // public
         Button(PinName pBtn, PinMode  pBtnMode, float Time = 0);                // constructor
         void init();                                                            // initialisation
-        void polling(uint8_t *iNumBtn = NULL);                                      // polls and debounce the button 
+        void polling(uint8_t *iNumBtn = NULL);                                  // polls and debounce the button 
         bool isPressed();                                                       // bool value if button is pressed or not
         bool wasPressed();                                                      //
         bool isLongPress();