The author has 2 posts.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
1445 1
【代码】8M晶振标准1毫秒延时函数
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 1 Posted at: 7/18/12 19:41

void delay_ms(uint k)

{

  uint i,j;

  for (i=0;i<k;i++)

    for (j=0;j<1140;j++);

}

巨大八爪鱼
武林盟主 二十一级
Reply
Floor 2 Posted at: 7/18/12 19:42
uint 就是unsigned int
Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 1445 Replies: 1
Author: 巨大八爪鱼
Last reply: 巨大八爪鱼
Last reply time: 7/18/12 19:42
Bar Good Posts
Announcements