Re: 急件 拜託
|
||||
---|---|---|---|---|
資深會員
|
其實上面的都說的蠻詳細了
如還不太能理解的話 個人建議 1. 上workshop 然後順便跟講師問仔細 2. 弄本PIC的書 相關章節用力K一下 以上
發表於: 2008/2/15 9:27
|
|||
|
Re: 急件 拜託
|
||||
---|---|---|---|---|
初級會員
|
版主我還是不懂
你可以舉例說明一下嗎 我比較不會這個
發表於: 2008/2/14 14:31
|
|||
|
Re: 急件 拜託
|
||||
---|---|---|---|---|
版主
|
這個問題我至少回達過10遍以上。
-------------------- MPLAB C18 ----------------------------------------
c:\mcc18\doc\hlpPIC18ConfigSet.chm 裡有詳細的設定參數值。
發表於: 2008/1/24 15:49
|
|||
|
Re: 急件 拜託
|
||||
---|---|---|---|---|
資深會員
|
C語言請看對應的header files以得到正確參數名稱。一樣的東西。
發表於: 2008/1/24 15:37
|
|||
不要問我哪裡來,我只是個流浪天涯的工程師
|
||||
|
Re: 急件 拜託
|
||||
---|---|---|---|---|
初級會員
|
請問一下 c語言要設嗎
發表於: 2008/1/24 15:26
|
|||
|
Re: 急件 拜託
|
||||
---|---|---|---|---|
資深會員
|
P16F72.INC檔案最後有Configuration bits設定。參數你需要對照Data Sheet Page.59 Configuration Bits 那一節作相關設定。也可以完全不寫,然後從MPLAB的Configure-->Configuration Bits中設定相關運作參數。
發表於: 2008/1/24 14:59
|
|||
不要問我哪裡來,我只是個流浪天涯的工程師
|
||||
|
Re: 急件 拜託
|
||||
---|---|---|---|---|
高級會員
|
在mcu動作前有一些硬體設定是可以讓user去自訂的。
例如ocillator你可以採用外部crystal oscillator,也可以在成本考量下採用mcu built in的RC oscillator。這些都是manufacture無法幫你決定的,所以你必須在configure bits中設定。datasheet後面都有介紹,寫程式的人一定要先看過才行。
發表於: 2008/1/24 13:34
|
|||
|
Re: 急件 拜託
|
||||
---|---|---|---|---|
初級會員
|
版主你好
你叫我看他裡面的文件 可是我不懂 你可以好心一點跟我說詳細一點嗎 謝謝
發表於: 2008/1/24 12:04
|
|||
|
Re: 急件 拜託
|
||||
---|---|---|---|---|
版主
|
設定 IC 硬體工作方式 , 此項設定是非常重要,倘若設定錯誤將使程式發生不可預期的誤動作。詳細的說明要看 Data Sheet裡有關 Special Features of the CPU 內有關 Configuration Words 的說明,其定義的文字須看 p16f72.inc 最後面的說明。
發表於: 2008/1/23 16:36
|
|||
|