Using the CCS Compiler method to solve this question Write a PIC16F877A program that flash ON the 8-LED's connected to port-B by using two switches connected to port-D (Do & D₁) as shown in figure below, according to the following scenarios: (Hint: Use 500ms delay for each case with 4MHz frequency) 1. When Do=1 then B₁,B3,B7 are ON. 2. When Do 0 then Bo,B2, B4, B5, B6 are ON. 3. When D₁=1 then B4,B,,B6,B7 are ON. 4. When D₁-0 then Bo,B1,B2,B3 are ON.

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter22: Sequence Control
Section: Chapter Questions
Problem 6SQ: Draw a symbol for a solid-state logic element AND.
icon
Related questions
Question
Using the CCS Compiler method to solve this
question
Write a PIC16F877A program that flash ON the 8-LED's connected to port-B by using
two switches connected to port-D (Do & D₁) as shown in figure below, according to the
following scenarios: (Hint: Use 500ms delay for each case with 4MHz frequency)
1. When Do=1 then B₁,B3,B7 are ON.
2. When Do 0 then Bo,B2, B4, B5, B6 are ON.
3. When D₁=1 then B4,B,,B6,B7 are ON.
4. When D₁-0 then Bo,B1,B2,B3 are ON.
Transcribed Image Text:Using the CCS Compiler method to solve this question Write a PIC16F877A program that flash ON the 8-LED's connected to port-B by using two switches connected to port-D (Do & D₁) as shown in figure below, according to the following scenarios: (Hint: Use 500ms delay for each case with 4MHz frequency) 1. When Do=1 then B₁,B3,B7 are ON. 2. When Do 0 then Bo,B2, B4, B5, B6 are ON. 3. When D₁=1 then B4,B,,B6,B7 are ON. 4. When D₁-0 then Bo,B1,B2,B3 are ON.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L
Delmar's Standard Textbook Of Electricity
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Electricity for Refrigeration, Heating, and Air C…
Electricity for Refrigeration, Heating, and Air C…
Mechanical Engineering
ISBN:
9781337399128
Author:
Russell E. Smith
Publisher:
Cengage Learning
EBK ELECTRICAL WIRING RESIDENTIAL
EBK ELECTRICAL WIRING RESIDENTIAL
Electrical Engineering
ISBN:
9781337516549
Author:
Simmons
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Power System Analysis and Design (MindTap Course …
Power System Analysis and Design (MindTap Course …
Electrical Engineering
ISBN:
9781305632134
Author:
J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:
Cengage Learning