せとうちオープン用のメインプログラム
Dependencies: mbed AQM1602 HMC6352 PID
setting/ActiveConfig.h@0:b910276f9da2, 2016-05-01 (annotated)
- Committer:
- lilac0112_1
- Date:
- Sun May 01 06:30:37 2016 +0000
- Revision:
- 0:b910276f9da2
from 2v10
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lilac0112_1 | 0:b910276f9da2 | 1 | #ifndef _ACTIVE_CONFIG_H_ |
lilac0112_1 | 0:b910276f9da2 | 2 | #define _ACTIVE_CONFIG_H_ |
lilac0112_1 | 0:b910276f9da2 | 3 | |
lilac0112_1 | 0:b910276f9da2 | 4 | #include "mbed.h" |
lilac0112_1 | 0:b910276f9da2 | 5 | #include "extern.h" |
lilac0112_1 | 0:b910276f9da2 | 6 | |
lilac0112_1 | 0:b910276f9da2 | 7 | |
lilac0112_1 | 0:b910276f9da2 | 8 | |
lilac0112_1 | 0:b910276f9da2 | 9 | #ifdef RED_CAT |
lilac0112_1 | 0:b910276f9da2 | 10 | |
lilac0112_1 | 0:b910276f9da2 | 11 | const ActiveItem static act[STRATEGY_NUM]={ |
lilac0112_1 | 0:b910276f9da2 | 12 | {"NormalAtk_______", modeAttack0, MODE_ATTACK0}, |
lilac0112_1 | 0:b910276f9da2 | 13 | {"Libero__________", modeAttack1, MODE_ATTACK1}, |
lilac0112_1 | 0:b910276f9da2 | 14 | {"NonDri_Libero___", modeAttack2, MODE_ATTACK2}, |
lilac0112_1 | 0:b910276f9da2 | 15 | {"NonDri_NormalAtk", modeAttack3, MODE_ATTACK3}, |
lilac0112_1 | 0:b910276f9da2 | 16 | {"ORIGIN__________", modeAttack4, MODE_ATTACK4}, |
lilac0112_1 | 0:b910276f9da2 | 17 | {"NormalAtk_______", modeAttack5, MODE_ATTACK5}, |
lilac0112_1 | 0:b910276f9da2 | 18 | |
lilac0112_1 | 0:b910276f9da2 | 19 | {"NormalAtk_______", modeDebug0, MODE_DEBUG0}, |
lilac0112_1 | 0:b910276f9da2 | 20 | {"NormalAtk_______", modeDebug1, MODE_DEBUG1}, |
lilac0112_1 | 0:b910276f9da2 | 21 | {"NonLn_Libero____", modeDebug2, MODE_DEBUG2}, |
lilac0112_1 | 0:b910276f9da2 | 22 | {"NonLn_NormalAtk_", modeDebug3, MODE_DEBUG3}, |
lilac0112_1 | 0:b910276f9da2 | 23 | {"NonIr_Libero____", modeDebug4, MODE_DEBUG4}, |
lilac0112_1 | 0:b910276f9da2 | 24 | {"NonIr_NormalAtk_", modeDebug5, MODE_DEBUG5}, |
lilac0112_1 | 0:b910276f9da2 | 25 | }; |
lilac0112_1 | 0:b910276f9da2 | 26 | |
lilac0112_1 | 0:b910276f9da2 | 27 | #endif /*RED_CAT*/ |
lilac0112_1 | 0:b910276f9da2 | 28 | |
lilac0112_1 | 0:b910276f9da2 | 29 | #ifdef GREEN_CAT |
lilac0112_1 | 0:b910276f9da2 | 30 | |
lilac0112_1 | 0:b910276f9da2 | 31 | |
lilac0112_1 | 0:b910276f9da2 | 32 | const ActiveItem static act[STRATEGY_NUM]={ |
lilac0112_1 | 0:b910276f9da2 | 33 | {"Libero__________", modeAttack1, MODE_ATTACK1}, |
lilac0112_1 | 0:b910276f9da2 | 34 | {"NormalAtk_______", modeAttack0, MODE_ATTACK0}, |
lilac0112_1 | 0:b910276f9da2 | 35 | {"NonDri_Libero___", modeAttack2, MODE_ATTACK2}, |
lilac0112_1 | 0:b910276f9da2 | 36 | {"NonDri_NormalAtk", modeAttack3, MODE_ATTACK3}, |
lilac0112_1 | 0:b910276f9da2 | 37 | {"ORIGIN__________", modeAttack4, MODE_ATTACK4}, |
lilac0112_1 | 0:b910276f9da2 | 38 | {"NormalAtk_______", modeAttack5, MODE_ATTACK5}, |
lilac0112_1 | 0:b910276f9da2 | 39 | |
lilac0112_1 | 0:b910276f9da2 | 40 | {"NormalAtk_______", modeDebug0, MODE_DEBUG0}, |
lilac0112_1 | 0:b910276f9da2 | 41 | {"NormalAtk_______", modeDebug1, MODE_DEBUG1}, |
lilac0112_1 | 0:b910276f9da2 | 42 | {"NonLn_Libero____", modeDebug2, MODE_DEBUG2}, |
lilac0112_1 | 0:b910276f9da2 | 43 | {"NonLn_NormalAtk_", modeDebug3, MODE_DEBUG3}, |
lilac0112_1 | 0:b910276f9da2 | 44 | {"NonIr_Libero____", modeDebug4, MODE_DEBUG4}, |
lilac0112_1 | 0:b910276f9da2 | 45 | {"NonIr_NormalAtk_", modeDebug5, MODE_DEBUG5}, |
lilac0112_1 | 0:b910276f9da2 | 46 | }; |
lilac0112_1 | 0:b910276f9da2 | 47 | |
lilac0112_1 | 0:b910276f9da2 | 48 | #endif /*GREEN_CAT*/ |
lilac0112_1 | 0:b910276f9da2 | 49 | |
lilac0112_1 | 0:b910276f9da2 | 50 | /* |
lilac0112_1 | 0:b910276f9da2 | 51 | //{"modeAttack5_____", modeAttack5, MODE_ATTACK5}, |
lilac0112_1 | 0:b910276f9da2 | 52 | //{"modeAttack2_____", modeAttack2, MODE_ATTACK2}, |
lilac0112_1 | 0:b910276f9da2 | 53 | {"modeAttack4_____", modeAttack4, MODE_ATTACK4}, |
lilac0112_1 | 0:b910276f9da2 | 54 | //{"modeAttack0_____", modeAttack0, MODE_ATTACK0}, |
lilac0112_1 | 0:b910276f9da2 | 55 | {"modeAttack1_____", modeAttack1, MODE_ATTACK1}, |
lilac0112_1 | 0:b910276f9da2 | 56 | {"modeAttack2_____", modeAttack2, MODE_ATTACK2}, |
lilac0112_1 | 0:b910276f9da2 | 57 | {"modeAttack3_____", modeAttack3, MODE_ATTACK3}, |
lilac0112_1 | 0:b910276f9da2 | 58 | {"modeAttack4_____", modeAttack4, MODE_ATTACK4}, |
lilac0112_1 | 0:b910276f9da2 | 59 | {"modeAttack5_____", modeAttack5, MODE_ATTACK5}, |
lilac0112_1 | 0:b910276f9da2 | 60 | |
lilac0112_1 | 0:b910276f9da2 | 61 | {"modeDebug0______", modeDebug0, MODE_DEBUG0}, |
lilac0112_1 | 0:b910276f9da2 | 62 | {"modeDebug1______", modeDebug1, MODE_DEBUG1}, |
lilac0112_1 | 0:b910276f9da2 | 63 | {"modeDebug2______", modeDebug2, MODE_DEBUG2}, |
lilac0112_1 | 0:b910276f9da2 | 64 | {"modeDebug3______", modeDebug3, MODE_DEBUG3}, |
lilac0112_1 | 0:b910276f9da2 | 65 | {"modeDebug4______", modeDebug4, MODE_DEBUG4}, |
lilac0112_1 | 0:b910276f9da2 | 66 | {"modeDebug5______", modeDebug5, MODE_DEBUG5}, |
lilac0112_1 | 0:b910276f9da2 | 67 | */ |
lilac0112_1 | 0:b910276f9da2 | 68 | |
lilac0112_1 | 0:b910276f9da2 | 69 | |
lilac0112_1 | 0:b910276f9da2 | 70 | //char LcdStr[LCD_COLUMN_NUM]; |
lilac0112_1 | 0:b910276f9da2 | 71 | //void (*ActiveFunction)(void); |
lilac0112_1 | 0:b910276f9da2 | 72 | //uint16_t tag_num; |
lilac0112_1 | 0:b910276f9da2 | 73 | |
lilac0112_1 | 0:b910276f9da2 | 74 | |
lilac0112_1 | 0:b910276f9da2 | 75 | #endif /*_ACTIVE_CONFIG_H_*/ |