main.c 822 字节
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <string.h>

#include "JZsdkLib.h"

#include "version_choose.h"
#include "ircut.h"
#include "Megaphone_InputAndOutput.h"
#include "Gimbal_InAndOut.h"

#include "JZsdk_Uart_Input.h"
#include "BaseConfig.h"




int main()
{
    //设定本程序为 uart程序模式  还是 psdk程序模式
    //前者可用于 uart连接对外接口 或者是 通过uart控制的psdk
    //后者则是用于直接镶套在psdk程序里面

    

    if (APP_VERSION == APP_UART)
    {
        Main_APP_Uart();
    }
    else if (APP_VERSION == APP_PSDK)
    {
        Main_APP_Psdk();
    }
    else if (APP_VERSION == APP_TEST)
    {
        Main_TestAPP();
    }
        
    while (1)
    {
        delayMs(1000);
    }
}