Van12345 0 Newbie Poster

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.