Elapsed Timer Demo


Closed Thread
Results 1 to 40 of 112

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    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

  2. #2
    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

  3. #3
    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. :-)

  4. #4
    Eng4444's Avatar
    Eng4444 Guest


    Did you find this post helpful? Yes | No

    Unhappy With PIC16F876A...

    How to make the first version of the program works for PIC16F876A with a 4 line LCD?

    Could anyone help me??

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


    Did you find this post helpful? Yes | No

    Default

    1. Set the DEFINEs to match your hardware.

    2. Add CMCON = 7 if using PORTA

    3. compile and run.
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    And ===> Adcon1=7
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    Hi Steve,

    ADCON1 = 7 was already in the "Test_Elapsed_LCD.pbp" program.

    Just need to add the CMCON for the 87x"A" varieties.

    DT
    <br>

Similar Threads

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

Members who have read this thread : 6

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