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.

35 lines
655 B
C++

#ifndef __HANDLER__
#define __HANDLER__
#include "VoiceIdentifyCommand.h"
#include "VoiceReportCommand.h"
#include "AutoPathRunner.h"
#include "CommandDecoder.h"
#include "GlobalDatas.h"
#include <Ultrasonic.h>
#include "DebugOpt.h"
namespace Handler
{
//ZigBee信息接收处理
void ZigBeeRx_Handler(uint8_t* mar);
//OpenMV信息接收处理
void OpenMVRx_Handler(uint8_t* mac);
//主车指令接收处理
void MainCarRx_Handler(uint8_t* com);
//按键事件处理函数 - 0
void Key_0();
//按键事件处理函数 - 1
void Key_1();
//按键事件处理函数 - 2
void Key_2();
//按键事件处理函数 - 3
void Key_3();
//按键接收处理
void KEY_Handler(uint8_t k_value);
};
#endif