標(biāo)題: LEDDS.C(26): 錯(cuò)誤 C141: syntax error near '}' 求解~ [打印本頁]

作者: xieshengsa    時(shí)間: 2014-7-16 23:37
標(biāo)題: LEDDS.C(26): 錯(cuò)誤 C141: syntax error near '}' 求解~
#include<reg52.h>
#define inttt unsigned int

sbit LED1=P0^1;        
sbit LSSS=P1^4;
void delay();

void main()
{
   LSSS=0;
     while(1)
         {
      LED1=0;
          delay();
          LED1=1;
          delay();
          }

}
void delay()
{
                 inttt x,y;
                 for(x=100;x>0;x--)
                 for(y=20;y>0;y--)
         
}

求看。出錯(cuò)   找不出來,。。。
LEDDS.C(26): 錯(cuò)誤 C141: syntax error near '}'
作者: admin    時(shí)間: 2014-7-18 16:57
詳見:http://www.torrancerestoration.com/bbs/dpj-26485-1.html




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1