Browsing this Thread:
1 Anonymous Users
Topic options
View mode
舊的在前
請問規劃數位IO PIN問題
新會員
Joined
: 2007/3/26 23:49最後登入時間
: 2007/4/2 22:07
Group:
註冊會員
Level : 1
HP : 0 / 0
MP : 0 / 34
EXP : 2
請問一下 我板子是DSPIC30F 4011 我想要有16PIN的數位輸出 我規劃了 RE0~5 & RE8 & RF0~6 & RD0 & RD2 我有把ADC功能先OFF掉(ADPCFG = 0xffff) 沒有用到LCD 以下是我簡單的設定 全設為OUTPUT 初始為LOW狀態 TRISB = 0x0000 ; //RB dir TRISF = 0x0000 ; //RF dir TRISD = 0x0000 ; //RD dir LATB = 0x0000 ; //RB init V low or high LATF = 0x0000 ; //RF init V low or high LATD = 0x0000 ; //RD init V low or high 但外接LED 似乎並不正確 請問是哪邊出了問題嗎?! 謝謝 如果我想使用LCD功能 除了RB7要還給LCD控制外 還有別PIN嗎 謝謝
發表於: 2007/3/26 23:56
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.