![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Testing 1 blue pill
Dependencies: mbed mbed-rtos TextLCD
Diff: Interface/Interface.hpp
- Revision:
- 26:83550fc299aa
- Parent:
- 25:9751619fa030
- Child:
- 28:3193157ebb0c
--- a/Interface/Interface.hpp Mon Feb 18 22:04:54 2019 +0000 +++ b/Interface/Interface.hpp Tue Feb 19 14:40:01 2019 +0000 @@ -8,17 +8,17 @@ #define Default_Coiling_Turns 20 #define Default_Twisting_Turns 70 -//Interrupt In for the button control to the interface -static InterruptIn button_up(D8); //D8//Increment Button -static InterruptIn button_down(A1); //A1//Decrement Button -static InterruptIn button_start(D9); //D9//START / STOP BUTTON -static InterruptIn button_funct(A3); //A3//Function Button -static InterruptIn button_select(A4);//A4//Select Button +//Digital In for the button control to the interface +static DigitalIn button_up(D8); //D8//Increment Button +static DigitalIn button_down(A1); //A1//Decrement Button +static DigitalIn button_start(D9); //D9//START / STOP BUTTON +static DigitalIn button_function(A3); //A3//Function Button +static DigitalIn button_select(A4);//A4//Select Button //Led Outputs //check the pin outs -static DigitalOut Led_Select_Left(D2); -static DigitalOut Led_Select_Right(D3); +static DigitalOut Led_Select_Left(D3); +static DigitalOut Led_Select_Right(D2); static DigitalOut Led_Power(A2); static STEPPER_MOTOR STEPPER_MOTOR_1(D15,D14,D13,D12); static PwmOut Tendon_Power(PE_8);