1. Use Proteus to Interface a switch to RA1, another switch to RA3, a RED led to RBO, and a GREEN led to RB1. Copy and p

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

1. Use Proteus to Interface a switch to RA1, another switch to RA3, a RED led to RBO, and a GREEN led to RB1. Copy and p

Post by answerhappygod »

1 Use Proteus To Interface A Switch To Ra1 Another Switch To Ra3 A Red Led To Rbo And A Green Led To Rb1 Copy And P 1
1 Use Proteus To Interface A Switch To Ra1 Another Switch To Ra3 A Red Led To Rbo And A Green Led To Rb1 Copy And P 1 (46.09 KiB) Viewed 66 times
1. Use Proteus to Interface a switch to RA1, another switch to RA3, a RED led to RBO, and a GREEN led to RB1. Copy and paste your design here. (20 points) 2. Write a subroutine SETPORT to set RA1 and RA3 as input pins and RBO and RB! As output pins. Copy and paste your subroutine here. (10 points) 3. Write a subroutine REDLEDON that turns-on RED led (GREEN led must be off). Copy and paste your subroutine here. (5 points) 4. Write a subroutine GREENLEDON that turns-on RED led (RED led must be off). Copy and paste your subroutine here. (5 points) 5. Write a subroutine LEDOFF that turns-off both led. Copy and paste your subroutine here. (5 points)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply