hello.
i am using PIC16F887 microcontroller for my project.
i suppose to turn on two LEDs (red and green) with two push button switches. if i press switch 1, the red LED turns on and should stay on even if i release the button. if i press switch 2, the red LED turns off and the green LED turns on and should stay on even if i release the button. can anybody help me right the c program for thing simple project. i am just new begginer for pic microcontrollers......
thanks
i am using PIC16F887 microcontroller for my project.
i suppose to turn on two LEDs (red and green) with two push button switches. if i press switch 1, the red LED turns on and should stay on even if i release the button. if i press switch 2, the red LED turns off and the green LED turns on and should stay on even if i release the button. can anybody help me right the c program for thing simple project. i am just new begginer for pic microcontrollers......
thanks