I need a few lines PIC16F84A codes to turn a LED on for 5 minutes, assume Port A0 is an input SW and Port B0 is an output.
LED only on for 5 mins when the sw is pressed and stop until the sw is press again.
Please see the attached for more details.