ジャパンオープン用のメインプログラム
Dependencies: mbed AQM1602 HMC6352 PID
setting/CommandConfig.h@7:efe90188a49d, 2016-03-06 (annotated)
- Committer:
- lilac0112_1
- Date:
- Sun Mar 06 15:06:28 2016 +0000
- Revision:
- 7:efe90188a49d
- Parent:
- 4:52da8da146d4
- Child:
- 8:25c8c75d182a
active setting
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 | 4:52da8da146d4 | 21 | {{"Test0_","Debug0","Debug1","Debug2"}, 4, SetStrategy1, SET_STRATEGY1}, |
lilac0112_1 | 4:52da8da146d4 | 22 | {{"Test1_","Debug3","Debug4","Debug5"}, 4, SetStrategy2, SET_STRATEGY2}, |
lilac0112_1 | 4:52da8da146d4 | 23 | {{"Strgy0","Atk0__","Atk1__","Atk2__"}, 4, SetStrategy3, SET_STRATEGY3}, |
lilac0112_1 | 4:52da8da146d4 | 24 | {{"Strgy1","Atk3__","Atk4__","Atk5__"}, 4, SetStrategy4, SET_STRATEGY4}, |
lilac0112_1 | 4:52da8da146d4 | 25 | {{"Start2","Active","______","______"}, 2, Start2, START2}, |
lilac0112_1 | 3:c49ea7ad8e91 | 26 | |
lilac0112_1 | 3:c49ea7ad8e91 | 27 | //char LcdStr[STATE_NUM_X][BUFSIZE]; |
lilac0112_1 | 3:c49ea7ad8e91 | 28 | //uint8_t str_num; |
lilac0112_1 | 3:c49ea7ad8e91 | 29 | //uint8_t (*CommandFunction)(uint8_t x); |
lilac0112_1 | 4:52da8da146d4 | 30 | //uint16_t tag_num; |
lilac0112_1 | 3:c49ea7ad8e91 | 31 | }; |
lilac0112_1 | 3:c49ea7ad8e91 | 32 | |
lilac0112_1 | 3:c49ea7ad8e91 | 33 | #endif /*_COMMAND_CONFIG_H_*/ |