Re: 有關PORTA設定問題請教
|
||||
---|---|---|---|---|
高級會員
|
ADCON1=0x07; //configure A/D for digital IO
發表於: 2008/2/15 13:20
|
|||
|
Re: 有關PORTA設定問題請教
|
||||
---|---|---|---|---|
版主
|
PORTA 除 RA4 以外都與 ADC 的輸入共用,如需 I/O 功能需將 ADC 的輸入功能設為 Digital Mode。PORTA 的功能 Defaut 是設定給 ADC 輸入。
請參考 Data Sheet 有關ADC的說明。
發表於: 2008/2/15 10:59
|
|||
|