You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
831 B
C++

#ifndef __DEBUG_OPT__
#define __DEBUG_OPT_
#include <ExtSRAMInterface.h>
#include "AccurateMotor.h"
#include "GlobalDatas.h"
#include <BKRC_Voice.h>
#include "OpenMVOpt.h"
#include <Infrare.h>
#include <CoreLED.h>
#include <Command.h>
#include <BEEP.h>
#include <LED.h>
namespace DebugOpt
{
//LED流水灯计数器
extern uint8_t led_flow_cnt;
//道闸测试指令
extern uint8_t open_road_buf[8];
//语音播报测试指令
extern uint8_t voive_test_buf[9];
//语音识别测试指令
extern uint8_t voice_trm_buf[8];
//红外测试指令
extern uint8_t ir_repo_buf[6];
//LED流水灯
void DoLEDFlow();
//电机运行测试
void DebugRun();
//舵机运行测试
void DebugServo();
//道闸开启测试
void Road_Gate_Test();
//语音播报测试
void Speech_Sounds_Ctr();
//语音识别测试
void Speech_Disc();
//红外发送测试
void Infrared_Test();
};
#endif