Need help with Counter/Timer application


Closed Thread
Results 1 to 22 of 22

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Raghunathan,

    Thats the best way to go untill they come out with a more enhanced way of interrupt handling in basic.
    They didn't, but I did.

    You may want to take a look at my Instant Interrupts (DT_INTS).
    http://www.darreltaylor.com/DT_INTS-14/intro.html

    It solves all the problems you just mentioned.


    For the simulator, you can do that with MPLAB.
    Or debug the real thing with Microcode Studio Plus.
    <br>
    DT

  2. #2
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Exclamation Yes!

    Raghunathan,

    Thanks for your comment. All of my work with the MCS-51 family has been in assembler, C, or Small C (Small C also with the 68HC11); I have no experience with BASCOM.

    As I mentioned before, I was referred by SteveB to Darrel's work and inquired by PM (thanks, Darrel!). He has got this issue nailed. Check the web site!

    http://www.darreltaylor.com/DT_INTS-14/intro.html

    I also downloaded DT_INTS-14.bas and ReEnterPBP.bas, printed them out, and walked myself through how he does it. This is a worthwhile exercise.

    See especially http://darreltaylor.com/DT_INTS-14/layers.html.
    Last edited by RussMartin; - 4th September 2006 at 22:33.
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

Similar Threads

  1. Simple TMR1 application example needed
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th February 2010, 10:52
  2. Unusual Interrupts Application Problem
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th May 2009, 12:55
  3. PIC16F877A for application in mobile robot...
    By mcbeasleyjr in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th January 2009, 15:47
  4. DS1307 automotive application
    By DynamoBen in forum Schematics
    Replies: 10
    Last Post: - 31st August 2006, 01:33
  5. Timer Application
    By charudatt in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th February 2004, 07:05

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