| ??? 02/11/04 22:48 Read: times |
#64542 - RE: Timer 2 in auto reload mode Responding to: ???'s previous message |
I don't unterstand this :
TH2 = (65535-1000)>>8; TL2= (65535-1000); RCAP2H = TH2; RCAP2L = TL2; why TH2 must shift 8 bit? dont't link please :( OK, so I will not link initially 1) Put on your thinking cap 2) What is the size (in bits) of TL2 and TH2 3) How many bits does it take to store (65535-1000) 4) what actually goes into TL2 on the second instruction And if that does not do it "the bible" chapter 3, address in links. (I did not link, but told you where the link is) Erik |



