Testing 1 blue pill
Dependencies: mbed mbed-rtos TextLCD
Diff: SETUP.hpp
- Revision:
- 29:f3b1387c81f1
- Parent:
- 28:3193157ebb0c
- Child:
- 30:a35f0ab97a65
--- a/SETUP.hpp Mon Mar 11 14:19:26 2019 +0000 +++ b/SETUP.hpp Wed Mar 13 11:34:39 2019 +0000 @@ -11,7 +11,8 @@ #include "STEPPER_MOTOR.hpp" #include "Interface.hpp" -#define Debounce_Time 150//200 works fine +#define Debounce_Time 300//200 works fine +#define Up_Down_Debounce_Time 300 INTERFACE INTERFACE; //Digital Outputs @@ -41,4 +42,7 @@ //Serial Terminal setup for debugging Serial pc(USBTX, USBRX); //Define serial namespace so the serial comms can be printed to +int Down_Counter = 0; +int Up_Counter = 0; + #endif \ No newline at end of file