Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

External Interrupt Handling Mechanism with 16F877

Status
Not open for further replies.

Sathiesh Kumar

New Member
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
 
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.
 
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....
 
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.
 
thanx..i will write it on my own an check it...if there is any problem i will contact you....
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top