mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
46 lines
979 B
C
46 lines
979 B
C
|
/********************************** (C) COPYRIGHT *******************************
|
|||
|
* File Name : main.c
|
|||
|
* Author : WCH
|
|||
|
* Version : V1.0.0
|
|||
|
* Date : 2020/04/30
|
|||
|
* Description : Main program body.
|
|||
|
*******************************************************************************/
|
|||
|
|
|||
|
/*
|
|||
|
*@Note
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD>ӡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̣<EFBFBD>
|
|||
|
USART1_Tx(PA9)<EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾʹ<EFBFBD><EFBFBD> USART1(PA9) <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӡ<EFBFBD><EFBFBD><EFBFBD>Կ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
*/
|
|||
|
|
|||
|
#include "debug.h"
|
|||
|
#include "pikaScript.h"
|
|||
|
|
|||
|
/* Global typedef */
|
|||
|
|
|||
|
/* Global define */
|
|||
|
|
|||
|
/* Global Variable */
|
|||
|
|
|||
|
|
|||
|
/*******************************************************************************
|
|||
|
* Function Name : main
|
|||
|
* Description : Main program.
|
|||
|
* Input : None
|
|||
|
* Return : None
|
|||
|
*******************************************************************************/
|
|||
|
int main(void)
|
|||
|
{
|
|||
|
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
|
|||
|
Delay_Init();
|
|||
|
USART_Printf_Init(115200);
|
|||
|
/* launch pikascript */
|
|||
|
pikaScriptInit();
|
|||
|
while(1)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
|