![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Testing 1 blue pill
Dependencies: mbed mbed-rtos TextLCD
Diff: Interface/Interface.hpp
- Revision:
- 28:3193157ebb0c
- Parent:
- 26:83550fc299aa
- Child:
- 29:f3b1387c81f1
--- a/Interface/Interface.hpp Fri Mar 01 21:57:59 2019 +0000 +++ b/Interface/Interface.hpp Mon Mar 11 14:19:26 2019 +0000 @@ -4,9 +4,9 @@ #include "mbed.h" #include "STEPPER_MOTOR.hpp" //Include this to use the stepper motor -#define Type_of_Rig 3 //Place 2 for coiling place 3 for twisting -#define Default_Coiling_Turns 20 -#define Default_Twisting_Turns 70 +#define Type_of_Rig 2 //Place 2 for coiling place 3 for twisting +#define Default_Coiling_Turns 80 +#define Default_Twisting_Turns 20 //Digital In for the button control to the interface static DigitalIn button_up(D8); //D8//Increment Button @@ -17,9 +17,9 @@ //Led Outputs //check the pin outs -static DigitalOut Led_Select_Left(D3); -static DigitalOut Led_Select_Right(D2); -static DigitalOut Led_Power(A2); +static DigitalOut Led_Select_Left(D2); +static DigitalOut Led_Select_Right(D3); +static DigitalOut Led_Power(A0); static STEPPER_MOTOR STEPPER_MOTOR_1(D15,D14,D13,D12); static PwmOut Tendon_Power(PE_8);