DT Elapsed Timer

+ Reply to Thread
Results 1 to 3 of 3
  1. #1

    Default DT Elapsed Timer

    I'm confused and having trouble finding the relevant/latest files to implement the Elapsed timer on my 18F2620 running at 32mhz.

    It appears DT Elapsed timer went through several updates but i can't find the final/latest files to download.
    I have googled around and read a lot of stuff on here.

    It appears i need the DT base interrupt system and the DT 18F elapsed timer file.
    Can anyone please help me out with the correct files?

    I tried several miss mash versions and currently have a compile error

    I presume i need these two lines or similar at the beginning of my program.
    I believe the Interrupt system has to be first.

    include "DT_INTS-18.bas"
    Include "Elapsed_INT-18.bas"

  2. #2
    Join Date
    Jan 2006

    Default Re: DT Elapsed Timer

    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3

    Default Re: DT Elapsed Timer

    OK that's great thanks but i'm now struggling to calculate the constant for a 32mhz pic.

    If OSC == 32
    TimerConst = 063C3h ?????

    I tried mister e-calculator and it suggested 45537 at 1/4 or 24439 at 1/2 but I think DT Elapsed runs at 1/1 which is too fast for 100hz ticks..???
    Anyway it's not counting the seconds correctly. I'm sure the pic is running at 32mhz..

    Pic multicalc won't run on my machine windows 7 64 bit it's complaining about a missing msstdfmt.dll.
    I've downloaded it but i can't register it for some reason.. dll register server failed..
    Last edited by retepsnikrep; - 15th December 2017 at 00:34.

Similar Threads

  1. Elapsed Timer findings
    By Art in forum General
    Replies: 40
    Last Post: - 18th June 2015, 19:14
  2. Elapsed Timer Demo
    By Darrel Taylor in forum Code Examples
    Replies: 111
    Last Post: - 29th October 2012, 18:39
  3. Compiling error on Elapsed timer
    By tacbanon in forum General
    Replies: 2
    Last Post: - 9th September 2012, 13:09
  4. SPWM and Elapsed Timer
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 8th May 2008, 03:16
  5. DT Elapsed Timer
    By rwskinner in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th March 2008, 00:17

Members who have read this thread : 12

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