ジャパンオープン用のメインプログラム
Dependencies: mbed AQM1602 HMC6352 PID
setting/CommandConfig.h@4:52da8da146d4, 2016-03-04 (annotated)
- Committer:
- lilac0112_1
- Date:
- Fri Mar 04 03:39:29 2016 +0000
- Revision:
- 4:52da8da146d4
- Parent:
- 3:c49ea7ad8e91
- Child:
- 7:efe90188a49d
modified command interface
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 | 4:52da8da146d4 | 16 | {{"IrPow0","S20L20","S30L30","S40L40"}, 4, SetPower1, SET_POWER1}, |
lilac0112_1 | 4:52da8da146d4 | 17 | {{"IrPow1","S20L30","S25L35","S35L45"}, 4, SetPower2, SET_POWER2}, |
lilac0112_1 | 4:52da8da146d4 | 18 | {{"Reset_","ByeBye","______","______"}, 2, SoftReset, SOFT_RESET}, |
lilac0112_1 | 4:52da8da146d4 | 19 | {{"Test0_","Debug0","Debug1","Debug2"}, 4, SetStrategy1, SET_STRATEGY1}, |
lilac0112_1 | 4:52da8da146d4 | 20 | {{"Test1_","Debug3","Debug4","Debug5"}, 4, SetStrategy2, SET_STRATEGY2}, |
lilac0112_1 | 4:52da8da146d4 | 21 | {{"Strgy0","Atk0__","Atk1__","Atk2__"}, 4, SetStrategy3, SET_STRATEGY3}, |
lilac0112_1 | 4:52da8da146d4 | 22 | {{"Strgy1","Atk3__","Atk4__","Atk5__"}, 4, SetStrategy4, SET_STRATEGY4}, |
lilac0112_1 | 4:52da8da146d4 | 23 | {{"Start2","Active","______","______"}, 2, Start2, START2}, |
lilac0112_1 | 3:c49ea7ad8e91 | 24 | |
lilac0112_1 | 3:c49ea7ad8e91 | 25 | //char LcdStr[STATE_NUM_X][BUFSIZE]; |
lilac0112_1 | 3:c49ea7ad8e91 | 26 | //uint8_t str_num; |
lilac0112_1 | 3:c49ea7ad8e91 | 27 | //uint8_t (*CommandFunction)(uint8_t x); |
lilac0112_1 | 4:52da8da146d4 | 28 | //uint16_t tag_num; |
lilac0112_1 | 3:c49ea7ad8e91 | 29 | }; |
lilac0112_1 | 3:c49ea7ad8e91 | 30 | |
lilac0112_1 | 3:c49ea7ad8e91 | 31 | #endif /*_COMMAND_CONFIG_H_*/ |