1
15
77
注册会员
打卡怎么打
使用道具 举报 送花
第三集,完,还行,跟的上
[ 
0
6
28
新手上路
#include <STC32G.H> #include <AI8051U.H>
#define MAIN_Fosc 12000000UL
void delay_ms(unsigned int ms);
void main() { P4M0=0x00; P4M1=0x00;
while(1) {
P00 = 0; //??????????
// SOS_Led(); P10 = 0; //led4??????? P17 = 0; delay_ms(500); P10 = 1; P17 = 1; delay_ms(500);
}
void delay_ms(unsigned int ms) //unsigned int { unsigned int i; do { i = MAIN_Fosc/13000; while(--i); }while(--ms); }
为何闪不了,请教一下
132
136
767
1万
管理员
38
1286
金牌会员
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )
GMT+8, 2025-8-15 06:23 , Processed in 0.126819 second(s), 114 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.