Our Programm to build up from the PES Board Example
Dependencies: PM2_Libary
Diff: main.cpp
- Revision:
- 21:f13e39291d80
- Parent:
- 20:c52e148d933f
- Child:
- 23:4a0912c80739
diff -r c52e148d933f -r f13e39291d80 main.cpp --- 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 {