Re: Change Notification Pin問題
|
||||
---|---|---|---|---|
新會員
|
請問簡單的RC彈跳消除電路要怎麼做阿?有電路圖嗎?參照:
發表於: 2007/11/30 9:56
|
|||
|
Re: Change Notification Pin問題
|
||||
---|---|---|---|---|
高級會員
|
大概知道了~謝謝版大~!!
發表於: 2007/10/6 18:08
|
|||
|
Re: Change Notification Pin問題
|
||||
---|---|---|---|---|
版主
|
可以參考 dsPIC30F Peripheral 教材裡的 Timer 的練習一。那裡就有利用 Timer 中斷掃描案件的 C30 程式。"到右邊下載中心或檔案下載"找看看。
發表於: 2007/10/5 16:18
|
|||
|
Re: Change Notification Pin問題
|
||||
---|---|---|---|---|
高級會員
|
請教版主用timer中斷處理流程大概是怎樣?
發表於: 2007/10/5 16:09
|
|||
|
Re: Change Notification Pin問題
|
||||
---|---|---|---|---|
版主
|
用軟體的延遲來處理彈跳很浪費處理能力,一般都使用 Timer 的中斷來處理彈跳比較有效率。
發表於: 2007/10/5 15:58
|
|||
|
Re: Change Notification Pin問題
|
||||
---|---|---|---|---|
高級會員
|
謝謝各位大大的指教~
現在還有一個問題就是如果用軟體來消除一定要用延遲的方式嗎? 是否還有其他方法?
發表於: 2007/10/5 15:28
|
|||
|
Re: Change Notification Pin問題
|
||||
---|---|---|---|---|
高級會員
|
可以用簡單的RC電路或R-S LATCH電路去實現,不然一般開關的機械特性而言在剛按下開關的時候都會有彈跳的產生。
發表於: 2007/10/5 8:56
|
|||
|
Re: Change Notification Pin問題
|
||||
---|---|---|---|---|
資深會員
|
要..
如果不處理彈跳,會被的中斷N次...
發表於: 2007/10/5 8:06
|
|||
|
Change Notification Pin問題
|
||||
---|---|---|---|---|
高級會員
|
請問一下如果將開關接於CNx並使用中斷,當發生中斷時需要考慮彈跳嗎?
發表於: 2007/10/5 2:01
|
|||
|