PIC-16F648A how to use Timer0 ??

General discussion on mikroC.
Post Reply
Author
Message
X-Team
Posts: 4
Joined: 26 Aug 2010 21:16
Location: Niš, Srbija

PIC-16F648A how to use Timer0 ??

#1 Post by X-Team » 11 Nov 2010 10:40

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!

Post Reply

Return to “mikroC General”