micro controller programming please help send fast as can
QUESTION 1 (25 MARKS A small-scale embedded system is consisting of an Arduino UNO R3 boards eight (8) LEDs and two (2) active low Push Button switches as shown in Figure 1. Ledo, Ledl, Led2, Led3, Led4, Led5, Led, Led7, are connected to Pino, Pinl, Pin2, Pin3, Pin4, Pin5, Pino and Pin7 respectively and SW1, SW2 are connected to Pin and Pin9 respectively. 9 O DO LED RE TEXT 01 LEDRE D2 LED RE D3 D4 LED REALED REL TETTE TEX D5 LED RELE TEXT D6 07 LED RE LED RED TEXT TEXT ART PONISCH MOSOGA 11 STO R1 R2 RO 220 TEXT 220 TEXT 220 R3 220 EXT R4 220 YEN R5 220 TEXT RB 220 EXT R7 220 TEXT SW2 swi GEECEEEEEEEEE. PONADOO POMOCI PCHADO PCOS POMOUC PCMADCHOCO BUKOU. OOTA POOACPACEXO POHANI POLINO POSTI POTOCK FOTO TXOTAD RX POSUED O Lady Led Leds Lede O Lod OL Indt Oledo SV SV A R8 104 ET R9 10 TEXT O O sw 이 OSW Figure 1 The system will read SW1 and SW2 and acts according to the behaviour show in Table 1. Write a complete program to display the LEDs pattern/sequence to match the system 1 behaviour. Table 1 SW1 SW2 LEDS PATTERN Open (1) Open (1) Close (0) Open (1) LEDs running out from the centre to the side (Running from Led3 to Ledo and from Led4 to Led7) LEDs running out from the side to the centre (Running from Ledd to Led3 and from Led7 to Led4) LEDs running out from Ledd to Led7 LEDS running out from Led7 to Ledo Open (1) Close (0) Close (0) Close (0) 125 Marks
QUESTION 1 (25 MARKS A small-scale embedded system is consisting of an Arduino UNO R3 boards eight (8) LEDs and two (2)
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
QUESTION 1 (25 MARKS A small-scale embedded system is consisting of an Arduino UNO R3 boards eight (8) LEDs and two (2)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!