Exemplo n.º 1
0
/***********************************************************************************************************************
* Function Name: main
* Description  : This function implements main function.
* Arguments    : None
* Return Value : None
***********************************************************************************************************************/
void main(void)
{
    R_MAIN_UserInit();
    /* Start user code. Do not edit comment generated here */

    // start listening to buttons
    R_INTC1_Start();
    R_INTC2_Start();

    while (1U)
    {
        ;
    }
    /* End user code. Do not edit comment generated here */
}
Exemplo n.º 2
0
/***********************************************************************************************************************
* Function Name: main
* Description  : This function implements main function.
* Arguments    : None
* Return Value : None
***********************************************************************************************************************/
void main(void)
{
    R_MAIN_UserInit();
    R_INTC1_Start();	
    R_UART1_Start();
    
    /* Start user code. Do not edit comment generated here */
    while (1U)
    {
       //if(start==01)
       //{
	 Delay(50);      
         start = 00;
	 R_UART1_Send(ATPDUText, 10);
	 Delay(50);
       //}
        
    }
    /* End user code. Do not edit comment generated here */
}