![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
pachas
Dependencies: mbed QEI FastPWM
Diff: buttons.h
- Revision:
- 3:45299e7882b9
- Parent:
- 0:9d0b9785d3d6
- Child:
- 6:d38287621cca
--- a/buttons.h Thu Apr 16 13:22:16 2020 +0000 +++ b/buttons.h Fri Apr 17 11:22:43 2020 +0000 @@ -7,6 +7,7 @@ /* Object declaration */ extern BusIn buttons; +extern DigitalIn push_button; /* Global variable declaration */ extern volatile uint8_t button_state; // debounced button state (bit == 1: button pressed)