Testing 1 blue pill
Dependencies: mbed mbed-rtos TextLCD
Diff: SETUP.hpp
- Revision:
- 26:83550fc299aa
- Parent:
- 25:9751619fa030
- Child:
- 27:22d6fd88828e
--- a/SETUP.hpp Mon Feb 18 22:04:54 2019 +0000 +++ b/SETUP.hpp Tue Feb 19 14:40:01 2019 +0000 @@ -11,7 +11,7 @@ #include "STEPPER_MOTOR.hpp" #include "Interface.hpp" -#define Debounce_Time 50 +#define Debounce_Time 100//200 works fine INTERFACE INTERFACE; //If the code compiles GET IN THE BIN @@ -27,8 +27,9 @@ void start_thread_function(); void function_thread_function(); void select_thread_function(); - +void Polling_thread_function(); //Thread Setups +Thread polling_thread; Thread lcd_thread; Thread led_thread; Thread up_thread;