S Sathiesh Kumar New Member Oct 19, 2009 #1 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
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
birdman0_o Active Member Oct 19, 2009 #2 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.
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.
S Sathiesh Kumar New Member Oct 20, 2009 #3 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....
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....
birdman0_o Active Member Oct 20, 2009 #4 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.
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.
S Sathiesh Kumar New Member Oct 20, 2009 #5 thanx..i will write it on my own an check it...if there is any problem i will contact you....