danielyen93
Newbie level 2
- Joined
- Feb 3, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- 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
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