之前用IAR for ARM感觉印象不错~
最近要用51,之前都是用的Keil,打算试试IAR,于是去下载了IAR for 8051
我用的单片机是STC89C5608AD
但是程序编译之后烧进去不能执行啊!!代码已经简单到不能再简单了啊!!!

#include <ioAT89C51.h>
int main()
{
while(1)
{
P2_bit.P2_6 = 0;
}
}
我在P2.6上接了一个LED
这都不行啊!!!MCU一点反应都没有。。。


是我设置的有问题吗?求大侠搭救!
此帖出自
小平头技术问答
一周热门 更多>