标题: CW V7.2 PE生成无线串口程序不成功,求大神! [打印本页] 作者: 491965376 时间: 2012-5-22 14:25 标题: CW V7.2 PE生成无线串口程序不成功,求大神! 程序如下:
void main(void)
{
/* Write your local variable definition here */
/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
PE_low_level_init();
/*** End of Processor Expert internal initialization. ***/
for(;;)
{
AS1_SendChar('H');
AS1_SendChar('E');
AS1_SendChar('L');
AS1_SendChar('L');
AS1_SendChar('O');
}
/* Write your code here */
/* For example: for(;;) { } */
/*** Don't write any code pass this line, or it will be deleted during code generation. ***/
/*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/
for(;;){}
/*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/
} /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/