+ Reply to Thread
Results 1 to 5 of 5

Thread: External Interrupt Handling Mechanism with 16F877

  1. #1
    Sathiesh Kumar Newbie
    Join Date
    Oct 2009
    Location
    Chennai
    Posts
    57

    Default External Interrupt Handling Mechanism with 16F877

    Hi,

    Finally i displayed a message in LCD...Thanx to all those who helped me...
    The problem is that we have to initialize the I/O ports as Digital IO..

    Now i would like to work on External Interrupts...How we have to initialize this interrrupts..what were the command words we have to use....Help me...

    Thanx in Advance...

    Sathiesh Kumar.V

    9444721638


  2. #2
    birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent
    Join Date
    Feb 2009
    Location
    Montreal, Quebec
    Posts
    1,064

    Default

    What language are you using?

    The PORTB interrupt pin will be exactly what you want for 1 interrupt (RB0)

    PORTB bit 4-7 can be configured as interrupt on change sources for more than a 1 pin interrupt.
    Mike
    My website: www.ElectroBird.net

  3. #3
    Sathiesh Kumar Newbie
    Join Date
    Oct 2009
    Location
    Chennai
    Posts
    57

    Default interrupt mechanism

    Thanx for your reply...
    I am using c language and the compiler is MicroC... can you give me a sample c code for interrupt mechanism....

  4. #4
    birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent
    Join Date
    Feb 2009
    Location
    Montreal, Quebec
    Posts
    1,064

    Default

    Why can't you write your own? It's not hard. It's about 10-20 to set up, not a lot of work. If you do it on your own, you will also understand how the code works.
    Mike
    My website: www.ElectroBird.net

  5. #5
    Sathiesh Kumar Newbie
    Join Date
    Oct 2009
    Location
    Chennai
    Posts
    57

    Default

    thanx..i will write it on my own an check it...if there is any problem i will contact you....

+ Reply to Thread

Similar Threads

  1. PIC 16F877 external Interrupt Problem!!!
    By mesamune80 in forum Micro Controllers
    Replies: 6
    Latest: 24th June 2008, 01:18 AM
  2. external interrupt
    By neelam29 in forum Micro Controllers
    Replies: 4
    Latest: 11th March 2006, 01:50 PM
  3. HANDLING THE INTERRUPT.
    By alamy in forum Micro Controllers
    Replies: 6
    Latest: 26th March 2005, 03:37 PM
  4. microcontroller/pic having advanced interrupt handling
    By jahan in forum Micro Controllers
    Replies: 7
    Latest: 21st November 2003, 07:01 PM
  5. External Interrupt not working - 16F877
    By usaf1 in forum Micro Controllers
    Replies: 0
    Latest: 15th September 2003, 12:17 AM

Tags for this Thread