Re: 關於12F510... 笨鴨偶又有問題囉??
|
||||
---|---|---|---|---|
資深會員
|
3Q .... Ryang .
我的MPLAB IDE 版本, 已經是V7.11 了; 好吧? 我再去看看有沒有更新的版本, 試試囉?
發表於: 2006/5/24 0:06
|
|||
|
Re: 關於12F510... 笨鴨偶又有問題囉??
|
||||
---|---|---|---|---|
版主
|
CM1CON0 R 的 C1ON (bit 3) 清為零時,可以關閉比較器。
找不到 CM1CON0 因為找不到 p12f510.inc ,可以在這個目錄找到 C:\Program Files\Microchip\MPASM Suite 如果沒有那就是 MPLAB IDE 版本太舊了,上網更新安裝。 底下是從 Data Sheet 剪下來的說明: A POR Reset forces the CM2CON0 register to its Reset state. This forces the Comparator module to be in the comparator Reset mode. This ensures that all potential inputs are analog inputs. Device current is minimized when analog inputs are present at Reset time. The comparator will be powered-down during the Reset interval.
發表於: 2006/5/23 13:57
|
|||
|
關於12F510... 笨鴨偶又有問題囉??
|
||||
---|---|---|---|---|
資深會員
|
Dear All :
關於12F510..... 如何 關閉 COMPARATOR 呀 ??????? 偶試過 ..... movlw b'00000000' movwf CM1CON0 這樣子行不通???? 那改成為..... bcf CM1CON0,3 這樣子也行不通.....都會出現... Symbol not previously defined ( CM1CON0 ) 如果不使用 COMPARATOR 是否要關閉呢???? 好累呦!!!
發表於: 2006/5/23 6:09
|
|||
|