Re: 請問16F877ATIMER中斷的問題?
|
||||
---|---|---|---|---|
新會員
|
感謝~回答!!
發表於: 2009/1/15 14:17
|
|||
|
Re: 請問16F877ATIMER中斷的問題?
|
||||
---|---|---|---|---|
版主
|
PR2 = 1; ??? 你知道這樣設 Timer2 多久會中斷一次嗎?
T2CON = 0b00011100; 你設了 Postscaler 那 Prescaler 呢? 你把 PR2 改為 = 100 後再試一下中斷時間,Postscaler = 1:1
發表於: 2009/1/14 11:50
|
|||
|