Jump to content


Photo

Timer 2 Help


1 reply to this topic

#1 blimp10

blimp10

    Newbrie

  • Members
  • 1 posts

Posted 19 December 2015 - 06:29 PM

Hey ive been trying to setup timer 2 on my 18f2520 Pic but i cant find any resources to help me. If anyone could help me set it up that would be great !



#2 JorgeF

JorgeF

    Super Enthusiast

  • EstablishedMember
  • PipPipPip
  • 276 posts
  • Gender:Male
  • Location:ES @ Europe, third rock from the Sun

Posted 03 January 2016 - 06:16 PM

Hi

 

Setup TIMER2 to do what?

 

Anyhow, your first and most important resource should be the PIC18F2520 datasheet here

http://ww1.microchip...eDoc/39631E.pdf

 

All it takes is to properly set the bits of the "t2con" register and optionaly the "pr2" register.

 

 

Best regards and season greetings

Jorge





Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users