1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

TMR0 TMR1 TMR2

Discussion in 'Oshonsoft' started by camerart, Dec 16, 2015.

  1. camerart

    camerart Active Member

    Joined:
    Jun 12, 2008
    Messages:
    1,420
    Likes:
    11
    Location:
    Dorset UK.
    Hi,

    I'm trying to read the 18F2431 (internal osc) data sheet:confused: regarding TMRs. Why are there three different types? TMR2 shows internal oscillator, but mentions CCP1/2. Will TMR2 work along side the PWM motor control pins? (I use PWM) If not which TMR should I use? I use Oshonsoft basic.

    I also have a similar thread open.

    Camerart.
     
  2. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,310
    Likes:
    914
    Location:
    Rochdale UK
    Your choice.... all will do what you need TMR0 , 1 or 5... Leave TMR 2 for the CCP module..
     
  3. camerart

    camerart Active Member

    Joined:
    Jun 12, 2008
    Messages:
    1,420
    Likes:
    11
    Location:
    Dorset UK.
    Hi Ian,

    Blinking complicated!! Ok, thanks. I'll post the full program into my other post you have been working on, and you will see there is PWM using CCP1/2.

    C.
     

Share This Page