Hello there

Dependencies:   PM2_Libary

Revision:
21:f13e39291d80
Parent:
20:c52e148d933f
Child:
22:a047968d3a91
--- a/main.cpp	Wed Mar 16 11:59:06 2022 +0100
+++ b/main.cpp	Fri Mar 18 09:44:17 2022 +0100
@@ -49,7 +49,7 @@
             // ???
 
             // if the mechanical button is pressed the extra led is blinking
-            if (mechanical_button) {
+            if (mechanical_button.read()) {
                 // visual feedback that the main task is executed
                 extra_led = !extra_led;
             } else {