Re: app013的s2好像並沒有與RB4相接,如何處理此一問題
|
||||
---|---|---|---|---|
新會員
|
將下載的ex1.asm,complier and program至app013的PIC18f4550, 執行step into, s2, s3 按鍵依然沒有作用。程式只執行'00001111',而沒有執行'11110000'。s2,s3如何使用依然無解。
發表於: 2009/10/8 15:16
|
|||
|
Re: app013的s2好像並沒有與RB4相接,如何處理此一問題
|
||||
---|---|---|---|---|
版主
|
建議你在看清楚一下 APP013 的線路圖,LED1 ~ LED8 接的是 PORTD<0:7>,而 RB4 直接接 S2 , S1 接RB5。
還有 PIC18 的 SFR 暫存器在 Access Bank 應不用沏Bank 的。 參考一下W400 的教材資料。 http://www.microchip.com.tw/modules/w ... nglefile.php?cid=4&lid=25
發表於: 2009/10/5 10:11
|
|||
|