PIC16F877A - Timer0 won't interrupt


Results 1 to 20 of 20

Threaded View

  1. #12
    Join Date
    Apr 2007
    Location
    Delft, the Netherlands
    Posts
    10


    Did you find this post helpful? Yes | No

    Arrow

    Quote Originally Posted by skimask View Post
    Really? Well...how many 'noob's' can say they fixed a problem on their own.
    I do believe you've done graduated out of the noob class...
    Now go let all the smoke out of a PIC to celebrate!
    I can count myself as a real rookie now!!

    Now that my program is growing, I encountered a new problem.
    The program is now some sort of stopwatch with 1 control button on portb.4.
    The problem is, that when I press the button, the timer won't start and it goes straight to "The time is: 00,00"

    What do I miss here?


    anyone? ^^

    Cheers,

    William

    /EDIT While I studied the behaviour of the program, I saw something odd... When i press RB4, INTCON.0 is set, BUT the interrupt enable bit is cleared on the same time. That's why it doesn't interrupt.

    Now I have forced the enable bit to stay set, only when I run it then it gives me an adress missmatch error. So that isn't the solution...

    Anyone with a clue what might reset INTCON.3?
    Attached Files Attached Files
    Last edited by WishMaster^; - 19th April 2007 at 13:02. Reason: Added a founding......
    ------------
    Oh Noes...
    ------------

Similar Threads

  1. Can't ID interrupt source with this IntHandler??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd June 2009, 02:35
  2. Sleep Mode
    By Pesticida in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th March 2008, 10:31
  3. Ping Darrel Taylor - Timer0 Instant Interrupt
    By JEC in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 9th January 2007, 11:20
  4. USART interrupt in PIC16F877A
    By amindzo in forum General
    Replies: 7
    Last Post: - 26th August 2006, 18:51
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01: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