• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: <PIC16F877>請問PORT B的第7,8根腳...
#4
新會員
新會員


查看用戶資訊
哦~我找到 datasheet 描訴了,分享給眾版友:

DEBUG: In-Circuit Debugger Mode
1 = In-Circuit Debugger disabled, RB6 and RB7 are general purpose I/O pins
0 = In-Circuit Debugger enabled, RB6 and RB7 are dedicated to the debugger.

感謝各位大大的幫忙,馬上去試試~

發表於: 2005/4/13 12:25
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: <PIC16F877>請問PORT B的第7,8根腳...
#3
版主
版主


查看用戶資訊
如果有啟動 debug 模式 RB6 & RB7 就會用來當做除錯的控制線其功能就為 PDG & PGD。

如果將 debug 關掉(Stand Alone Mode),這時候 RB6 & RB7 就是一般的 I/O 功能。

發表於: 2005/4/13 11:28
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: <PIC16F877>請問PORT B的第7,8根腳...
#2
高級會員
高級會員


查看用戶資訊
Configuration Word

Bit 11 DEBUG 設為1


發表於: 2005/4/12 23:29
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


<PIC16F877>請問PORT B的第7,8根腳...
#1
新會員
新會員


查看用戶資訊
請教大家:目前我使用 PIC16F877 的 PORT B 來當作 LED 的輸出腳,程式驗證第1~6腳都沒問題,直到 第7,8腳 就不會有輸出,翻了一下參考書有提到:

RB6/PGC: 除了當輸出/輸入外,還有其他3功能(略) ...
RB7/PGD: 除了當輸出/輸入外,還有其他3功能(略) ...

請問除了在程式裡 "指定輸出" 外,還必須作其他指令規劃麼?
(我只想當輸出阿~)

P.S:使用All-11C燒錄器: HS OSC. ; WDT/BOR disable ; PWRT Enable ; Code protection OFF ; HV on /MCLR for programming.

發表於: 2005/4/12 19:29
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... ]

教育訓練中心

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