incomplete_jerin
Advanced Member level 2
i want the LEDs to get off when i off the switch but the problem when i get off the switch the led stay on
Ok. Are you using interrupt routine to make the port pins to logic 0 (pins where LEDs are connected) while the switch is off?
Regards,
Jerin.