Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Free Bestselling eBooks

It's easy: sign up in under 10 seconds, tell us what kind of eBooks you love & we'll email you a list of deals every day - FREE! Join now!
From our sponsors
這幾段C語言的延遲函數 ?
Dec 4th 2013, 18:45

void Delay10Ms(unsigned char ms)
{
Delay10KTCYx((((Fosc/4000)*ms)/1000));
}

void DelayMs(unsigned char ms)
{
Delay1KTCYx((((Fosc/4000)*ms)/1000));
}

void Delay10us(unsigned char us)
{
Delay10TCYx(((Fosc/1000000)*us));

小弟初學PIC,此函數為以MCC18下去編寫的DELAY程式

請教各位前輩們,此程式各是代表幾秒呢 ?

我想讓程式延遲一秒,這三段程式各需輸入多少值已達到延遲一秒?

原理是 ?

小弟使用10K石英震盪器。

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 jmuko99 的頭像
    jmuko99

    2016韓劇推薦好看的 , 學校2015 韓劇 線上看 , 2015韓劇排行榜前十名2016韓劇排行榜前十名 , 好看的韓劇推薦 , 2016韓劇收視率 , 韓劇推薦 , 2017好看的韓劇推薦 ,

    jmuko99 發表在 痞客邦 留言(0) 人氣()