In this condition i want to make s1 as web button. And s2 is physical push button. Both are inputs to arduino.
That means both switches are in off condition initially. if i switch s1 then light should on. Now s2 is in off condition, if i toggle s2 to on state and then to off state light should off. Now s1 is in on condition, if i toggle s1 to off state and then to on state light should on.