Page 1 of 1

PIC-16F648A how to use Timer0 ??

Posted: 11 Nov 2010 10:40
by X-Team
Hi,

Can anyone show me how to initialize and use Timer0 on PIC-16F648A I tried something and It wont work?

And is it possible to check if specific PIN on PORTA is active? For example I have some stuff sended from RA1,RA3 and I want to check if RA4/T0CKI(I guess thats the timer) is getting logical 1. Is that also possible?

I was planning to make Timer0 in interrupt() check if RA4 has logical 1 and If it gets that value to send some bits to PORTB and do other stuff.

So give me an example if you can!

Thanks in advance!