• slider image 514
  • slider image 516
  • slider image 517
  • slider image 518
  • slider image 519
:::


Browsing this Thread:   1 Anonymous Users






Re: 關於12F510... 笨鴨偶又有問題囉??
#4
資深會員
資深會員


查看用戶資訊
阿哈.... 更新為 MPLAB IDE V7.40 版本後...
就.. 可以認識 CM1CON0 REGISTER lar. 黑皮!黑皮!
還有阿.... 不用的 ADC也要去 ADCON0 關閉呦 !
不然呀 ?? 會不正常工作哦....
這些呀 ??? DATA SHEET 都沒有提到, 真是給它雪特! HAHA.
笨鴨偶可是花了大把時間 ....
去把那些龜龜 REGISTER 開開關關才發現的.
還好??有Ryang 的提示更新MPLAB IDE;
不然呀 ??? 花兩輩子時間也找不到問題呦 !!! 3Q lar!
好啦!! 嘮叨發完啦!! 可以繼續玩下去囉 ....

發表於: 2006/5/24 4:37
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於12F510... 笨鴨偶又有問題囉??
#3
資深會員
資深會員


查看用戶資訊
3Q .... Ryang .
我的MPLAB IDE 版本, 已經是V7.11 了;
好吧? 我再去看看有沒有更新的版本, 試試囉?

發表於: 2006/5/24 0:06
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於12F510... 笨鴨偶又有問題囉??
#2
版主
版主


查看用戶資訊
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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


關於12F510... 笨鴨偶又有問題囉??
#1
資深會員
資深會員


查看用戶資訊
Dear All :
關於12F510.....
如何 關閉 COMPARATOR 呀 ???????
偶試過 .....
movlw b'00000000'
movwf CM1CON0
這樣子行不通???? 那改成為.....
bcf CM1CON0,3
這樣子也行不通.....都會出現...
Symbol not previously defined ( CM1CON0 )
如果不使用 COMPARATOR 是否要關閉呢????
好累呦!!!

發表於: 2006/5/23 6:09
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------