Re: watchdog 喚醒 sleep 的計數問題
|
||||
---|---|---|---|---|
資深會員
|
設一個 counter, 每第 10 次(或你指定的次數) 進入 watchdog 才作事,並重置此 counter;還不到 10 次就只加一次(或用倒數,減一次) ,再繼續睡。
發表於: 2008/10/21 7:29
|
|||
|
watchdog 喚醒 sleep 的計數問題
|
||||
---|---|---|---|---|
新會員
|
由於小弟目前的 PIC18F6620 沒有給 Timer1 外接震盪器
PortB的中斷方式又不可行 目前比較可行的 Sleep 方式只剩下 watchdog 但是目前所知的 watchdog 設定只有 1: 128 的 後除 想請問一下若要設定較長時間的喚醒計數 以 WDT 為基礎的條件下 有什麼好的方法嗎? 感謝指導~
發表於: 2008/10/20 16:39
|
|||
|