请手头有ch451开发板,或是正在开发有硬件的同志们,测试一下下面的程序。 (451程序为本网站下载的) main() { ch451_init(); EA=1; ch451_write(CH451_SYSON2); ch451_write(CH451_BCD);
ch451_write(CH451_BCD); ch451_write(CH451_DIG0 + 0x8); ch451_write(CH451_DIG1 + 0x8); ch451_write(CH451_DIG2 + 0x8); ch451_write(CH451_DIG3 + 0x8); ch451_write(CH451_DIG4 + 0x8); ch451_write(CH451_DIG5 + 0x8); ch451_write(CH451_DIG6 + 0x8); while(1) { ch451_write(CH451_SYSON2); } }
我的总是在执行议会儿出现黑屏,然后主循环换成别的指令会有别的不正常现象。不知道你们的是不?什么毛病?(4线)