I am trying to write c program for LED with two switches. one LED and two switches are connected to micro controller.
I want to develop flow chart for below conditions
Here is my flow chart
I am not sure this flow chart are correct or not , If its correct Than I will show you my code ?
I want to develop flow chart for below conditions
Code:
SW1 SW2 LED
OFF OFF OFF
OFF ON OFF
ON OFF OFF
ON ON ON
I am not sure this flow chart are correct or not , If its correct Than I will show you my code ?