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
- Committer:
- lilac0112_1
- Date:
- 2016-03-08
- Revision:
- 9:c966191926c5
- Parent:
- 8:25c8c75d182a
- Child:
- 10:6df631c39f9b
File content as of revision 9:c966191926c5:
#ifndef _COMMAND_CONFIG_H_
#define _COMMAND_CONFIG_H_
#include "mbed.h"
#include "extern.h"
const CommandItem static item[STATE_NUM_Y]={
{{"None__","Strgy_","Reset_","______"}, 3, ZeroFunction, ZERO_FUNCTION},
{{"Start_","Active","______","______"}, 2, Start, START},
{{"Ir____","IrSpot","IrNote","IrPstn"}, 4, GetIr, GET_IR},
{{"Line__","LnABC_","PING__","IrKey_"}, 4, GetLine, GET_LINE},
{{"Cmps__","cmps__","______","______"}, 2, GetPidValue, GET_PID_VALUE},
{{"ClbEnt","Enter_","______","______"}, 2, CalibrationEnter, CALIBRATION_ENTER},
{{"ClbExt","Exit__","______","______"}, 2, CalibrationExit, CALIBRATION_EXIT},
{{"CpsRst","CpsRst","______","______"}, 2, FrontReset, FRONT_RESET},
{{"PowUP_","NEXT__","CHANGE","______"}, 3, SetPowerDown, SET_POWER_DOWN},
{{"PowDWN","NEXT__","CHANGE","______"}, 3, SetPowerUp, SET_POWER_UP},
//{{"IrPow0","S20L20","S30L30","S40L40"}, 4, SetPower1, SET_POWER1},
//{{"IrPow1","S20L30","S25L35","S35L45"}, 4, SetPower2, SET_POWER2},
{{"Reset_","ByeBye","______","______"}, 2, SoftReset, SOFT_RESET},
//{{"Test0_","Debug0","Debug1","Debug2"}, 4, SetStrategy1, SET_STRATEGY1},
//{{"Test1_","Debug3","Debug4","Debug5"}, 4, SetStrategy2, SET_STRATEGY2},
//{{"Strgy0","Atk0__","Atk1__","Atk2__"}, 4, SetStrategy3, SET_STRATEGY3},
//{{"Strgy1","Atk3__","Atk4__","Atk5__"}, 4, SetStrategy4, SET_STRATEGY4},
{{"ClbEnt","Enter_","______","______"}, 2, CalibrationEnter, CALIBRATION_ENTER},
{{"ClbExt","Exit__","______","______"}, 2, CalibrationExit, CALIBRATION_EXIT},
//{{"StrUP_","NEXT__","CHANGE","______"}, 3, SetStrategyDown, SET_STRATEGY_DOWN},
{{"Kicker","DRIVE_","______","______"}, 2, DriveKicker, DRIVE_KICKER},
{{"StrDWN","NEXT__","CHANGE","______"}, 3, SetStrategyUp, SET_STRATEGY_UP},
{{"Start2","Active","______","______"}, 2, Start2, START2},
//char LcdStr[STATE_NUM_X][BUFSIZE];
//uint8_t str_num;
//uint8_t (*CommandFunction)(uint8_t x);
//uint16_t tag_num;
};
#endif /*_COMMAND_CONFIG_H_*/