Code Timer - How long does it take to execute XYZ command?


Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343

    Default Code Timer - How long does it take to execute XYZ command?

    Since this question has come up again, I thought I'd throw this module out to the masses. It is something I worked on a while back, with DT's help. Amid life's other priorities, it got put on the self to collect dust.

    The basic idea is that by adding the module as an INCLUDE and inserting a couple of commands inside your code, you can have the PIC send timing data to your PC via the hardware serial port. It's make for 18F PICs (although some 16Fs may work too). You also need a timer that is not being used for anything else.

    1) Instructions are included, as well as a small example.
    2) It worked well for me, and as I recall, DT in testing.
    3) Use it however you want.
    4) I won't be able to offer much support, but figure there are enough knowlegeable folks around here that can help those who need it.

    Best Regards,
    SteveB

    Thanks Darrel for all your help!
    Attached Files Attached Files

Similar Threads

  1. decoding quadrature encoders
    By ice in forum mel PIC BASIC Pro
    Replies: 93
    Last Post: - 28th February 2017, 09:02
  2. Elapsed Timer Demo
    By Darrel Taylor in forum Code Examples
    Replies: 111
    Last Post: - 29th October 2012, 17:39
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. Interrupt/timer not really interrupting...
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd May 2005, 22:05
  5. Timer Accuracy
    By GEEZER in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 31st March 2005, 05:26

Members who have read this thread : 1

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