A small-scale embedded system is consisting of a two active low push button switches denoted SW1 and SW2 connected to Pi

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

A small-scale embedded system is consisting of a two active low push button switches denoted SW1 and SW2 connected to Pi

Post by answerhappygod »

A Small Scale Embedded System Is Consisting Of A Two Active Low Push Button Switches Denoted Sw1 And Sw2 Connected To Pi 1
A Small Scale Embedded System Is Consisting Of A Two Active Low Push Button Switches Denoted Sw1 And Sw2 Connected To Pi 1 (132.01 KiB) Viewed 44 times
A small-scale embedded system is consisting of a two active low push button switches denoted SW1 and SW2 connected to Pinl2 and Pin13 respectively, four LEDs denoted Ledl, Led2, Led3 and Led4 connected to Pin8, Pin9, Pin10 and Pin11 respectively and a seven-segment display connected to Pino to Pin7 as shown in Figure 2. O Led1 O Led2 pano Lede ס TEXT O SW2 O swi 11 Led4 10 O Led 9 Led TEXT TEXT RESET D1 D2 D3 Ledit GELECE AREF P85/5CK PBUMISO 2B/MOSIOCZA PB2/5S/OC1B PB1/OCIA PBOXCP 1/CLKO PDIANT -PD/AINO PD5/T1 PD4/TOIXCK PD3/INTI PDOMINTO TX PD1/TXD RX PDO/ROXD A R1 220 TEXT D4 co do R4 10 9 220 TEXT R2 220 TEXT R3 220 TEXT NI 90 TVNV DO Slaalala PCOADCO PC 1/ADC1 PCRIADCZ PCA0c3 PCAIADCASDA POSIADCSISCL DIGITAL (PWM) 7 Oh Og 5 Oe od о е 1 0 Ob O a AS 11 TH HI +5V SV R6 R5 10k TEXT- 10k TEXT- O SWI O SW2 Figure 2 The system will read SW1 and SW2 and acts according to the behaviour show in Table 2. Write a complete program to satisfy the conditions shown in Table 2. Table 2 CONDITION BEHAVIOR Initial Condition Press SWI Press SW2 All LEDs OFF and seven segment display "0" Ledl and Led2 Blinking and seven segment display "1" Led3 and Led4 Blinking and seven segment display "2" Vul
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply