Question

Two different people input a binary number from 0-7 in order to light one of eight...

Two different people input a binary number from 0-7 in order to light one of eight LEDs. Depending upon the setting of a switch, you either light the LED selected by person A or by person B. What parts would you use?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

If switch a is closed, current will flow through the “a” segment of the LED to the current limiting resistor connected to pin a and to 0 volts, making the circuit. Then only segment a will be illuminated. So a LOW condition (switch to ground) is required to activate the LED segments on this common anode display.

But suppose we want the decimal number “4” to illuminate on the display. Then switches b, c, f and g would be closed to light the corresponding LED segments. Likewise for a decimal number “7”, switches a, b, c would be closed. But illuminating 7-segment displays using individual switches is not very practical.

Add a comment
Know the answer?
Add Answer to:
Two different people input a binary number from 0-7 in order to light one of eight...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • You are to create a new application that will execute on your Arduino platform based upon...

    You are to create a new application that will execute on your Arduino platform based upon the Blink example that is available in the Arduino Examples folder that you downloaded as part of the IDE. Your application will use a toggle switch to interface with the user. The application will operate by controlling the LEDs based upon the position of the toggle switch. If the user moves the LEDs until new user input is provided. When the user moves the...

  • In C:Write a program that can determine whether a user input is a binary number or...

    In C:Write a program that can determine whether a user input is a binary number or not. (1, 2, 3, 8, 13) Write a program that accomplishes all of the following: Greets the user and informs them that the program will determine whether an input from the user is a valid binary number or not (e.g., consisting of only 0’s and/or 1’s). Accept an integer input from the user. Assume that the user provides a valid numeric input that will...

  • Need help understanding process with verilog module code on a basys 3 for this. More details...

    Need help understanding process with verilog module code on a basys 3 for this. More details on process the better. One person controls switches 0 to 7 and other controls switches 8 to 15. Each person inputs a 7-bit binary number by toggling his 7 switches on the right (i.e., sw [0] to sw [6] or sw [8] to sw [14]), and then toggles their leftmost switch (i.e., sw [7] or sw [15]) to be on when theyre ready. If...

  • Create the logic diagram for this circuit Create a binary to hexadecimal converter. Use SW3-0 as the input and the left most 7 segment display ONLY as the output. SW3-0 should be interpreted as a 4bi...

    Create the logic diagram for this circuit Create a binary to hexadecimal converter. Use SW3-0 as the input and the left most 7 segment display ONLY as the output. SW3-0 should be interpreted as a 4bit unsigned binary number with SW3 as the MSB. The 7 segment should display 0-F based on the input number, both upper and lower case may be used. You need to show to the marker: Create a binary to hexadecimal converter. Use SW3-0 as the...

  • When I switch the positions of two different people in a team, I get a different...

    When I switch the positions of two different people in a team, I get a different team. What would I use in this case, permutations or combinations? I think that it is a permutation because if you change positions on the team and get a new team, that means order matters. Is this correct?

  • need a C Code to show the 7 segment from 0-9 and A-F. thank you Software...

    need a C Code to show the 7 segment from 0-9 and A-F. thank you Software The segment LEDs are driven through different GPIO Ports that are defined as digital outputs. The predefined hexadecimal encoding values need to be shifted to the corresponding bit in order to light up the correct segment LED on different Ports. The program counts from 0 through 15 with 1 sec interval, then rolls over to 0 again. The count values are shown on the...

  • 3. Write the function find sorted elt whose input is a vector sorted in increasing order...

    3. Write the function find sorted elt whose input is a vector sorted in increasing order and an element x. The output is 0 if the element x does not occur in v, 1 if the element x does occur in v. Below is the algorithm you should implement, known as the binary search algorithm. Note that the code below returns the index, but we want to return true or false, not the index, so adjust your code accordingly. Algorithm....

  • 123 Binary Stars 7) Imagine that you are watching a binary star system chtas they eaomntar....

    123 Binary Stars 7) Imagine that you are watching a binary star system chtas they eaomntar. And I type main sequence star and a B-spectral type main sequence sta orbit. During this time, you are able to see the starst of the M-S mvedstars At another time, you see the B-spectral type star in at an entirely different time, you see that the B-spectretches showing M-spectral type star. In the space below, draw three would look like at the three...

  • Trees Traversals Please write a Java program to traverse a binary tree in in-order and pre-order,...

    Trees Traversals Please write a Java program to traverse a binary tree in in-order and pre-order, and to plot a binary tree into a 2-dimensional array. You may write many recursive methods for this project. You are not allowed to use any existing Java classes such as ArrayList or Vector or Tree. Please stop your program if the user enters 0 as the tree selection. Your program must run the following Test Case 1 plus two more test cases to...

  • Trees Traversals Please write a Java program to traverse a binary tree in in-order and pre-order, and to plot a binar...

    Trees Traversals Please write a Java program to traverse a binary tree in in-order and pre-order, and to plot a binary tree into a 2-dimensional array. You may write many recursive methods for this project. You are not allowed to use any existing Java classes such as ArrayList or Vector or Tree. Please stop your program if the user enters 0 as the tree selection. Your program must run the following Test Case 1 plus two more test cases to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT