Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed AQM1602 HMC6352 PID
setting/CommandConfig.h@9:c966191926c5, 2016-03-08 (annotated)
- Committer:
- lilac0112_1
- Date:
- Tue Mar 08 09:52:22 2016 +0000
- Revision:
- 9:c966191926c5
- Parent:
- 8:25c8c75d182a
- Child:
- 10:6df631c39f9b
somehow
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| lilac0112_1 | 3:c49ea7ad8e91 | 1 | #ifndef _COMMAND_CONFIG_H_ |
| lilac0112_1 | 3:c49ea7ad8e91 | 2 | #define _COMMAND_CONFIG_H_ |
| lilac0112_1 | 3:c49ea7ad8e91 | 3 | |
| lilac0112_1 | 3:c49ea7ad8e91 | 4 | #include "mbed.h" |
| lilac0112_1 | 3:c49ea7ad8e91 | 5 | #include "extern.h" |
| lilac0112_1 | 3:c49ea7ad8e91 | 6 | |
| lilac0112_1 | 4:52da8da146d4 | 7 | const CommandItem static item[STATE_NUM_Y]={ |
| lilac0112_1 | 4:52da8da146d4 | 8 | {{"None__","Strgy_","Reset_","______"}, 3, ZeroFunction, ZERO_FUNCTION}, |
| lilac0112_1 | 4:52da8da146d4 | 9 | {{"Start_","Active","______","______"}, 2, Start, START}, |
| lilac0112_1 | 4:52da8da146d4 | 10 | {{"Ir____","IrSpot","IrNote","IrPstn"}, 4, GetIr, GET_IR}, |
| lilac0112_1 | 4:52da8da146d4 | 11 | {{"Line__","LnABC_","PING__","IrKey_"}, 4, GetLine, GET_LINE}, |
| lilac0112_1 | 4:52da8da146d4 | 12 | {{"Cmps__","cmps__","______","______"}, 2, GetPidValue, GET_PID_VALUE}, |
| lilac0112_1 | 4:52da8da146d4 | 13 | {{"ClbEnt","Enter_","______","______"}, 2, CalibrationEnter, CALIBRATION_ENTER}, |
| lilac0112_1 | 4:52da8da146d4 | 14 | {{"ClbExt","Exit__","______","______"}, 2, CalibrationExit, CALIBRATION_EXIT}, |
| lilac0112_1 | 4:52da8da146d4 | 15 | {{"CpsRst","CpsRst","______","______"}, 2, FrontReset, FRONT_RESET}, |
| lilac0112_1 | 7:efe90188a49d | 16 | {{"PowUP_","NEXT__","CHANGE","______"}, 3, SetPowerDown, SET_POWER_DOWN}, |
| lilac0112_1 | 7:efe90188a49d | 17 | {{"PowDWN","NEXT__","CHANGE","______"}, 3, SetPowerUp, SET_POWER_UP}, |
| lilac0112_1 | 7:efe90188a49d | 18 | //{{"IrPow0","S20L20","S30L30","S40L40"}, 4, SetPower1, SET_POWER1}, |
| lilac0112_1 | 7:efe90188a49d | 19 | //{{"IrPow1","S20L30","S25L35","S35L45"}, 4, SetPower2, SET_POWER2}, |
| lilac0112_1 | 4:52da8da146d4 | 20 | {{"Reset_","ByeBye","______","______"}, 2, SoftReset, SOFT_RESET}, |
| lilac0112_1 | 8:25c8c75d182a | 21 | //{{"Test0_","Debug0","Debug1","Debug2"}, 4, SetStrategy1, SET_STRATEGY1}, |
| lilac0112_1 | 8:25c8c75d182a | 22 | //{{"Test1_","Debug3","Debug4","Debug5"}, 4, SetStrategy2, SET_STRATEGY2}, |
| lilac0112_1 | 8:25c8c75d182a | 23 | //{{"Strgy0","Atk0__","Atk1__","Atk2__"}, 4, SetStrategy3, SET_STRATEGY3}, |
| lilac0112_1 | 8:25c8c75d182a | 24 | //{{"Strgy1","Atk3__","Atk4__","Atk5__"}, 4, SetStrategy4, SET_STRATEGY4}, |
| lilac0112_1 | 8:25c8c75d182a | 25 | {{"ClbEnt","Enter_","______","______"}, 2, CalibrationEnter, CALIBRATION_ENTER}, |
| lilac0112_1 | 8:25c8c75d182a | 26 | {{"ClbExt","Exit__","______","______"}, 2, CalibrationExit, CALIBRATION_EXIT}, |
| lilac0112_1 | 9:c966191926c5 | 27 | //{{"StrUP_","NEXT__","CHANGE","______"}, 3, SetStrategyDown, SET_STRATEGY_DOWN}, |
| lilac0112_1 | 9:c966191926c5 | 28 | {{"Kicker","DRIVE_","______","______"}, 2, DriveKicker, DRIVE_KICKER}, |
| lilac0112_1 | 8:25c8c75d182a | 29 | {{"StrDWN","NEXT__","CHANGE","______"}, 3, SetStrategyUp, SET_STRATEGY_UP}, |
| lilac0112_1 | 4:52da8da146d4 | 30 | {{"Start2","Active","______","______"}, 2, Start2, START2}, |
| lilac0112_1 | 3:c49ea7ad8e91 | 31 | |
| lilac0112_1 | 3:c49ea7ad8e91 | 32 | //char LcdStr[STATE_NUM_X][BUFSIZE]; |
| lilac0112_1 | 3:c49ea7ad8e91 | 33 | //uint8_t str_num; |
| lilac0112_1 | 3:c49ea7ad8e91 | 34 | //uint8_t (*CommandFunction)(uint8_t x); |
| lilac0112_1 | 4:52da8da146d4 | 35 | //uint16_t tag_num; |
| lilac0112_1 | 3:c49ea7ad8e91 | 36 | }; |
| lilac0112_1 | 3:c49ea7ad8e91 | 37 | |
| lilac0112_1 | 3:c49ea7ad8e91 | 38 | #endif /*_COMMAND_CONFIG_H_*/ |