I'm an idiot and I don't know why! - CCP1_INT


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    27


    Did you find this post helpful? Yes | No

    Default

    I'm using version .93 Beta DT_INTS-14
    and version 3.2 ReEnterPBP.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Using the same here, but tested it on real hardware with a pull-down holding RB3 low, and
    switch pulling it high when pressed. Works 100%.

    Is RB3 being held at ground until you press the switch?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Sep 2008
    Posts
    27


    Did you find this post helpful? Yes | No

    Default

    Thanks Bruce for the feedback. I'll try to figure out "Whats Up With That"...
    Only wasted ~ 9 hours on it.....

  4. #4
    Join Date
    Sep 2008
    Posts
    27


    Did you find this post helpful? Yes | No

    Default

    Sorry Bruce, didn't see the last portion of your post. I assumed since it worked for you, it was a problem with the simulator. The simulator does show .02v when the button is not pressed and the rest of the inputs work correctly for the other interrupts. I guess I'm going to have to what for the real circuit board to arrive for further testing.

  5. #5
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    I don't see anthing that would pull the inputs low when the switches aren't pushed.
    Charles Linquist

  6. #6
    Join Date
    Sep 2008
    Posts
    27


    Did you find this post helpful? Yes | No

    Default

    If I change the interrupt to either INT_INT or RBC_INT and move the input to another pin, it works fine. CCP1_INT does not work. It has to be the simulator. I don't have a real 16F628A to test yet. Should have the actual circuit board next week.
    Attached Images Attached Images  

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