
This has increased comments and a readme
Dependencies: mbed mbed-rtos TextLCD
README.txt
- Committer:
- JDickson
- Date:
- 2019-03-01
- Revision:
- 27:22d6fd88828e
File content as of revision 27:22d6fd88828e:
COILING RIG CODE V10: 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 = Turn Function 1 = Anneal Function 2 = Test Black :Reset : HardWired Red :Up : D8 Orange:Down : A1 Brown :Start/Stop: D9 Green :Select : A3 Yellow:Function : A4 //Led Outputs //check the pin outs. static DigitalOut Led_Select_Left(D2); static DigitalOut Led_Select_Right(D3); static DigitalOut Led_Power(A3); 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