Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to write assembly language on LED

Status
Not open for further replies.

danielyen93

Newbie level 2
Newbie level 2
Joined
Feb 3, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,301
First connect a push button switch SW1 to PORTA(RA0) and two LEDs to PORTB i.e. LED1 to RB0 and LED2 to RB2. PIC is 16F84A running at 4MHz.
how to write an assembly language so that each time SW1 is pressed LED1 turns ON and OFF for 300ms. Once SW1 has been pressed 7 times LED2 should also turn ON and OFF for 600ms each. Repeat this process
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top