Browsing this Thread:
2 Anonymous Users
Topic options
View mode
舊的在前
Re: AD1PCFGH和AD1PCFGL會影響io讀寫?
版主
Joined
: 2004/4/30 10:53最後登入時間
: 2021/11/30 18:11
From CAE, Microchip
Group:
站務管理者 註冊會員
Level : 75
HP : 744 / 1861
MP : 5367 / 111025
EXP : 45
最基本的問題,要把 Data Sheet 裡有關 AD 的暫存器看一遍就之道了。 摘自 Data Sheet 裡的說明: ADxPCFGL: ADCx PORT CONFIGURATION REGISTER LOW PCFG<15:0>: A/D Port Configuration Control bits 1 = Port pin in Digital mode, port read input enabled, A/D input multiplexor connected to AVSS 0 = Port pin in Analog mode, port read input disabled, A/D samples pin voltage
發表於: 2009/3/30 14:44
AD1PCFGH和AD1PCFGL會影響io讀寫?
初級會員
Joined
: 2008/9/1 17:28最後登入時間
: 2013/4/24 17:34
Group:
註冊會員
Level : 4
HP : 0 / 75
MP : 9 / 3558
EXP : 3
下面的program是使用PIC24HJ256GP610驅動1602LCD的~ DRIVER改自站上提供的APP009V2_LCD.c 如果不在PROGRAM中設定AD1PCFGL和AD1PCFGL為0xFFFF就可以操作正常~ 但是在設定AD1PCFGL和AD1PCFGL為0xFFFF之後LCD就不能動了~ 有大大知道那裡出問題了嗎? THX<(_ _)>
Attach file :
Link only for registered users
發表於: 2009/3/29 12:39
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.