Question: Write a complete program for the PIC16F84A, with circuit connection as shown in Figure 1, so that it flashes the LEDs connected to PORTB continuously,

Write a complete program for the PIC16F84A, with circuit connection as shown in Figure 1, so that it flashes the LEDs connected to PORTB continuously, in the following patterns:

00000000,00000001,00000010,00000100,00001000,00010000,00100000,01000000,10000000 one after another with a delay of 1s inserted between each change of pattern. Use a look-up table to run through the patterns.Write a complete program for the PIC16F84A, with circuit connection as shown

VOD Target 2x 10K 3x10k 1000 (800kHz nom.) 100p B SOOR RAZ RA1 RA3 RAD RA4 OS1 CLR OS2 vss VOD RBO RB7! RB1 RB6 RB2 RBS RB3 RB4 16LF84A VSS SOOR SOOR 560R SOOR # 560R SOOR SOOR 3mm lo current Figure 1(a): Circuit diagram for Q1(b) VOD Target 2x 10K 3x10k 1000 (800kHz nom.) 100p B SOOR RAZ RA1 RA3 RAD RA4 OS1 CLR OS2 vss VOD RBO RB7! RB1 RB6 RB2 RBS RB3 RB4 16LF84A VSS SOOR SOOR 560R SOOR # 560R SOOR SOOR 3mm lo current Figure 1(a): Circuit diagram for Q1(b)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!