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
    全站熱搜
    創作者介紹
    創作者 jmuko104 的頭像
    jmuko104

    new htc one開箱,htc手機評價,htc手機比較,htc手機遊戲,htc手機維修,htc手機價位,htc手機推薦,htc手機鈴聲,中華電信htc手機,htc手機截圖,亞太htc手機,

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