Simple PIC based timer needed, any advice appreciated.


Results 1 to 15 of 15

Threaded View

  1. #6


    Did you find this post helpful? Yes | No

    Default 24 hr tmr

    the devices with the 8 mhz int osc are about 1%, (12f283 for example) pretty good timing.
    i would blink an led at 1 sec and use the 1 second as a time base. the led just shows that your ckt is doing something.
    there are 86400 seconds/day but a var word is only 16 bit - max 65535 count so use 2 second count inc up to 43200.

    start:
    while count < 43200
    high led
    pause 1000
    low led
    pause 1000
    count=count+1
    end while
    outputRSTpin=1
    pause 2000
    outputRSTpin=0
    count=0
    goto start

    don f
    Last edited by amgen; - 15th August 2010 at 20:32.

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