timer interupt help 16f73


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    EDWARD's Avatar
    EDWARD Guest


    Did you find this post helpful? Yes | No

    Default any insight?

    I am still having trouble understanding the timer interupt on the 16f73 and how to use it. whatvariable holds the value for the timer? basically i think all i need is something as simple as this follow psuedo code idea.

    while tmr0 is less then 500ms 'tmr0 counts in the background regaurless of pauses.
    gosub ramp
    if trigger pulled reset tmr0
    wend

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Have a look at this thread... it shows how a PICs timers work and gives an interrupt example... may not be exactly what you need, but it's intended as a starting point for interrupts and timers.

    http://www.picbasic.co.uk/forum/showthread.php?t=632

Similar Threads

  1. Help me with interupt
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd February 2009, 00:17
  2. Timer interrupt frequency
    By Samoele in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th January 2009, 23:49
  3. Is a timer delay accomplished with an interupt?
    By ShortBus in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 26th September 2007, 22:07
  4. Timer1 and Interupt wierdness
    By mind in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 23rd August 2005, 01:24
  5. 16f73 pwm capture interupt
    By EDWARD in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd July 2005, 22:22

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts