Start and stop a timer


Closed Thread
Results 1 to 2 of 2
  1. #1
    Jan Bot's Avatar
    Jan Bot Guest

    Question Start and stop a timer

    Hello,

    I'm Jan Bot and I am new here. I'm going to build a propellor clock. The most diffecult thing of it is the sofware.

    There is a signal at pin 6 of a PIC16F628A microcontroller. When there is a signal then the timer must start, if there is a second signal the timer must stop. But I want that the programme not stop when a timer runs.

    Is there anyone who can help me?

    bye,

    Jan Bot
    Last edited by Jan Bot; - 9th September 2005 at 20:10.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    mmm what i don't understand now...
    you said
    When there is a signal then the timer must start, if there is a second signal the timer must stop
    BUT you said
    I want that the programme not stop when a timer runs.
    So i guess you need a timer wich run in background to allow a part of your code to run RIGHT???

    How about the delay you need? milliseconds, secondes, hour, day, year,century?

    What else your program do?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Questions on ultrasonic distance finder
    By lilimike in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 20th April 2010, 21:19
  2. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  3. First timer...building a remote controlled vehicle
    By .n0rig. in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 9th February 2009, 03:44
  4. Timer interrupt frequency
    By Samoele in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th January 2009, 23:49
  5. Math operations & Syntax?
    By kevj in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 23rd February 2008, 01:40

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