Elapsed Timer Demo


Closed Thread
Results 1 to 40 of 112

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Posts
    65


    Did you find this post helpful? Yes | No

    Thumbs up That amazing Darrel

    Darrel,

    I will be waiting for the answer.



    Good luck

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


    Did you find this post helpful? Yes | No

    Default

    Almost there.   I keep getting sidetracked.

    I hope you're using MPASM. I've been unable to make it work with PM.
    <br>

  3. #3
    Join Date
    Jul 2005
    Posts
    65


    Did you find this post helpful? Yes | No

    Smile

    Hi Darrel

    MPASM would never be a problem, I always keep tracking the new versions of microchip compiler (MPASM), as being almost there, I hope you finish it as soon as possible

    Thanks alot

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


    Did you find this post helpful? Yes | No

    Default

    In fact, i don't know why PM still exist since it doesn't work anyway with any 18Fs. I always use MPASM.
    Steve

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

  5. #5
    Join Date
    Jul 2004
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Elapsed-18

    Hi Darrel,

    I got this message after compiling my program. I'm using Pic18F452 & PicBasic Pro Ver 2.46a

    Error[113] C:\MPLAB\PICBASIC\PBPPIC18.LIB 1154 : Symbol not previously defined (_ClockCount)


    Thank You.
    Last edited by mazlan; - 20th March 2006 at 08:47.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    In fact, i don't know why PM still exist since it doesn't work anyway with any 18Fs. I always use MPASM.
    Hmm, what are the changes one have to make so the program be compatible with MPASM (other than the DEFINES) ?

    Thanks
    Ioannis

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


    Did you find this post helpful? Yes | No

    Default

    mazlan,

    Since the ClockCount subroutine is in the same file as the Define that assigns it to the interrupt handler, it's unlikely that it can't find the label.

    Unless, you've edited the files or tried to paste the stuff into you're main program instead of using the Include files. In which case I have no way to know what you've done.

    DT

  8. #8
    Join Date
    Jul 2004
    Posts
    8


    Did you find this post helpful? Yes | No

    Smile Elapsed-18

    I'm using the original include files and didn't change anything. Now it's ok. After deleting the space between INTHAND and _ClockCount, everything's OK. Actually, i'm new in microchip assembly.

    Thank You. :-)

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 22:14
  2. Get elapsed time while TIMER samples pulses
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th March 2009, 16:27
  3. Elapsed Timer Demo in a PIC12F675
    By Leonardo in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 21st November 2008, 00:01
  4. Totally Baffled with Elapsed Timer
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th June 2008, 21:01
  5. Darrel Taylor Elapsed Timer
    By rwskinner in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th March 2008, 01:22

Members who have read this thread : 4

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