Timer Of 40 Days 12f675 Or 16f628


Results 1 to 14 of 14

Threaded View

  1. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Well, if it doesn't need to be exact, you might do something like this.
    Code:
    Minutes   VAR  Byte
    Hours     VAR  Byte
    Days      VAR  Byte
    
    Wait40Days:
        For Days = 1 to 40
            For Hours = 1 to 24
                For Minutes = 1 to 60
                    PAUSE 60000         ; 60 Seconds
                Next Minutes
            Next Hours
        Next Days
    <BR><BR>
    Last edited by Darrel Taylor; - 13th August 2005 at 17:39.
    DT

Similar Threads

  1. Timer code examples for PIC 16F628
    By Tastature in forum mel PIC BASIC
    Replies: 6
    Last Post: - 22nd November 2013, 02:47
  2. Timer interrupt frequency
    By Samoele in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th January 2009, 23:49
  3. dual 7-segment countdown timer code
    By dr.ragh in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 30th April 2007, 13:19
  4. Timer does not work 12F675
    By Leonardo in forum mel PIC BASIC
    Replies: 12
    Last Post: - 22nd September 2005, 21:12
  5. Button pressed time control
    By tanero in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 15th August 2005, 15:17

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