Darrel Taylor - Instant Interrupts-Problem 16F877A


Results 1 to 14 of 14

Threaded View

  1. #8
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Question

    Quote Originally Posted by Darrel Taylor View Post
    As long as none of the complex math or logical conditions are in the Interrupt handlers themselves, ...
    you can open the ReEnterPBP.bas file and comment the ERROR "Temp variables exceeding T4" line with a semicolon (;).
    Just to understand it correctly, I want to ask you few more questions:

    1) Can I use the following statements:
    Code:
    ToggleLED1:
         goto main ' Is it ok to send the program to a label. Also no complex match or logical conditions here
    @ INT_RETURN
    
    main:
    'All complex code and calculations are here
    @INT_ENABLE INT_INT 'Can I place this statement here?
    @SLEEP 'Since my application is battery powered, so PIC to sleep if no command is present
    Goto main
    2) Will the next interrupt only be enabled after the code encounters @INT_ENABLE (Regardless of where I put it in the code)?

    BIG thanks for the help upto now.
    Last edited by Megahertz; - 22nd December 2009 at 14:59.

Similar Threads

  1. Problem displaying data from GPS module & using 16f877a
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 15th April 2010, 11:27
  2. 16F946 Instant Interrupts problem
    By jderson in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th April 2009, 23:20
  3. Darrel Taylor Interrupts I2C Problem
    By dcorraliza in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 26th March 2008, 03:13
  4. 16F877A problem: "coupled" digital values
    By Lupo83 in forum General
    Replies: 16
    Last Post: - 4th December 2007, 13:46
  5. using darrel taylor's instant interrupts
    By Michael Wakileh in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 31st July 2007, 05:07

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