vikun
Newbie level 3
sir, i want ,
1) if i press switch first time the LED will b ON until delay ends and LED OFF when Delay ends.
also,
2)if i press switch before delay Ends LED should be OFF immediately.
i have tried this but, first if i press switch first 1st is ok but 2nd is not.
please tell me logic and code.
1) if i press switch first time the LED will b ON until delay ends and LED OFF when Delay ends.
also,
2)if i press switch before delay Ends LED should be OFF immediately.
i have tried this but, first if i press switch first 1st is ok but 2nd is not.
please tell me logic and code.