請各位大蝦看一下這個程序有沒有問題
#include<reg51.h>
sbit LED=p0^0;
void Delay() { unsigned char i,j; for(i=0;i<255;i++) for(j=0;j<255;j++); }
void main() { while(1) { LED=0; Delay(); LED=1; Delay(); } }
為什么我在keil中編譯出現(xiàn)這個錯誤:
正在編繹 Text1.c... --- 錯誤: 不能執(zhí)行 'C:\Keil\C51\BIN\C51.EXE' Text1.c - 1 錯誤 (s), 0 警告 (s).
[此貼子已經(jīng)被admin于2009-8-4 0:41:15編輯過]
|