![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Testing 1 blue pill
Dependencies: mbed mbed-rtos TextLCD
README.txt
- Committer:
- thomasmorris
- Date:
- 2019-04-04
- Revision:
- 30:a35f0ab97a65
- Parent:
- 28:3193157ebb0c
File content as of revision 30:a35f0ab97a65:
COILING RIG CODE V14: This code is used to operate the Carbon Fibre actuator construction rigs. The buttons on this rig operate as follows: - Reset: This button simply reboots the board and restarts the code. - Function: This button chooses between the functions of the board - Select: This selects the part of the function in the interface to be changed - Up: This increases either the number of coils or annealing time - Down: This decreases either the number of coils or annealing time - Start/Stop: Useful code information: Function 0 = Anneal Function 1 = Test Function 2 = Coiling Function 3 = Run Once Black :Reset : HardWired Red :Up : D8 Orange:Down : A1 Brown :Start/Stop: D9 Yellow:Function : A3 Green :Select : A4 //Led Outputs //check the pin outs. static DigitalOut Led_Select_Left(D2); static DigitalOut Led_Select_Right(D3); static DigitalOut Led_Power(A0); TextLCD lcd(D0,D1,D4,D5,D6,D7); // rs, e, d4-d7 TendonPower (PWM) pin is PE_8 one below d0 STEPPER_MOTOR STEPPER_MOTOR_1(D15,D14,D13,D12) this is defined in interface.hpp