Hi,
I need help in writing this C Program
Circuit : LED are connected to P1.0 to P1.4 , a push button (push
to on) Switch is connected to P1.7
When button is pressed first time, LED on P1.0 switches on, when
switch is pressed again, LED on P1.0 switches…