Sale!

CMPE 453 Lab-1  Section-2 solution

Original price was: $35.00.Current price is: $28.00.

Download Details:

  • Name: Lab-1-Binary-Game-of-the-Leds-and-7-segment-Display-brmiu7.zip
  • Type: zip
  • Size: 787.00 B

Category: Tag:

Description

5/5 - (1 vote)

Binary Game of the Leds and 7-segment Display

1- Set up a circuit with breadboard, Arduino-Uno, 7-segment display, 220Ω resistors
(11), 3 LEDs and jumpers.
2- Program ATMEGA328p microcontroller by using C programming on
Arduino IDE. Provide the connection between your computer and Arduino
board.When your program runs, itshould repeat the following cycle:

For each cycle, send a random number between 7 and 0 to 7-segment display so that
it displays that number for 3 seconds. The number on 7-segment display will be
simultaneously played by the Leds as a binary light game. For instance, if the
number on the display is:
4 Leds should be On-Off-Off
3 Leds should be Off-On-On
0 Leds should be Off-Off-Off

CMPE 453 Lab-1  Section-2