help with the pic16f877+c coding

hey there guys can someone please help me out. I am using the ccs ide and compiler to carry out a project. As part of the project i need to use Rb0 as as external interrupt. There is a sine wave connected to the pin. When the sine wave is positive the pin will be 1 and when negative the pin will be 0 due to the internal schnidt triggers.

Now what i want to know is everytime the pin changes from 1 to 0 or 0 to 1 i want to make a LEd conneted to on pin D_1 come on. How do i do this using c and the ccs environment.

Please please help

Replies

You are reading an archived discussion.

Related Posts

Hi friends. After a long time i once again came back to Ceens. I have a course DBMS in my semester. They suggeste us to learn oracle. Can you help...
Hi.. I saw so many members useing blogs.Can anyone tell me please what is the use of blog writing AND blog reading? How can we earn money from the blogs?I...
Those who aren't aware, Microsoft has launched Microsoft Online Services. Link: Online Services from Microsoft for e-mail, messaging, and collaboration allow you to hand off IT management chores and spend...
Looks like its taking longer than expected for the Apple India online store to 'open'. Link here: Untitled Document Anyone's got a clue why its down?
hi This is candace. i really look forward to be an active member in this forum. i do run a resume writing website