pachas

Dependencies:   mbed QEI FastPWM

Revision:
6:d38287621cca
Parent:
3:45299e7882b9
Child:
11:5cb7ae8bd831
--- a/buttons.cpp	Sun Apr 19 05:38:41 2020 +0000
+++ b/buttons.cpp	Mon Apr 20 11:39:30 2020 +0000
@@ -5,7 +5,6 @@
 
 /* Object definition */
 BusIn  buttons (ENTER_SW_PIN, LIMIT_SW_01_PIN, GAS_INPUT_SW_PIN);
-DigitalIn   push_button(ENTER_SW_PIN);
 
 /* Global variable definition */
 volatile uint8_t button_state = 0; // debounced button state (bit == 1: button pressed)
@@ -15,7 +14,6 @@
 
 void Buttons_Initialize(void){
     // Enable the pull-up resistors for the buttons and the switch    
-    push_button.mode(PullUp);
 }