PIC16F887 erratic behavior with DT interrupts


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2012
    Posts
    3


    Did you find this post helpful? Yes | No

    Default Re: PIC16F887 erratic behavior with DT interrupts

    I can post the program, but it's pretty convoluted and may be hard to follow as it has 'grown' as I've added functionality. It interacts with a rotary encoder, a couple of switches, a DSP, a AM/FM tuner IC, and a stepper motor. I'm a hardware guy, who knows enough to comment and use sub's, but am not a software person by nature or training. So the structure may be sub optimal, at the least.
    I guess the question I have is..Is it possible that the compiler is creating this problem, or is it something about the interrupt assembly code, or should I continue to look for an error in my code?
    Anyway, if someone wants to look at it I'll post it here.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: PIC16F887 erratic behavior with DT interrupts

    Is it possible that the compiler is creating this problem, or is it something about the interrupt assembly code, or should I continue to look for an error in my code?
    I will bet on the last option

    Post your code and let someone offer some help.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Erratic Behavior on a 18F452
    By markcadcam in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th October 2010, 17:20
  2. Replies: 8
    Last Post: - 7th December 2006, 15:42
  3. erratic behavior when using MPASM vs. PM
    By cool_justin in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th June 2006, 01:08
  4. Erratic LCD behavior
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 1st April 2006, 19:48
  5. Erratic PIC12F675 behavior
    By russman613 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 27th February 2006, 14:46

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