timer question (probably for Mel)


Results 1 to 6 of 6

Threaded View

  1. #4
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216


    Did you find this post helpful? Yes | No

    Default

    http://www.picbasic.co.uk/forum/showthread.php?t=603 reply #7,9

    OK Mel, what I am trying to do is:

    do a bunch of stuff (all code OK and works)

    press START button
    start counter up to 100 - 1500 ticks (1 - 15 secs set by switches during first bunch of stuff)
    time out
    leave and do another bunch of stuff (all code OK and works)

    do not count until start pressed again, and new number of ticks read.
    'MY THOUGHTS:
    either start the interrupt routine at press START, and stop it at TIMEOUT
    or Have interrupt routine free running and zero counter and count to TIME and then go off and do the other stuff.

    During the time delay, nothing happens except wait for TIMEOUT

    Sorry to ask all these dumb Qs Mel, but seems to me you are the brains in this outfit?
    Last edited by muddy0409; - 12th September 2005 at 14:55.

Similar Threads

  1. Simple Timer question
    By jimseng in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th September 2009, 23:12
  2. Watchdog Timer Question
    By kevj in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th March 2008, 01:56
  3. Timer Question 16f877
    By Bonxy in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th November 2005, 08:40
  4. Timer / CCP Question
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd November 2005, 08:22
  5. Timer Question
    By aywho in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd October 2005, 21:54

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