Re: PORTD 輸入
|
||||
---|---|---|---|---|
版主
|
程式看起來沒問題,
但不了解 "portData數據與設定值不同,為前一次讀取的資料" 這句話的意思? 可否再說明。
發表於: 2008/10/15 11:07
|
|||
|
PORTD 輸入
|
||||
---|---|---|---|---|
新會員
|
請教先進:
使用PIC18F4520的PORTD作為input,程式如下: .... unsigned char portData; .... TRISD = 0xff; .... while(1) { portData=PORTD; .... } portData數據與設定值不同,為前一次讀取的資料
發表於: 2008/10/14 11:18
|
|||
|