creating a Simon game using a breadboard, 4 LEDs, 4 Buttons, and an ARM STM 32F103 Nucleo-64.
Using Assembly Language.
Beginning should have LEDs going back and forth on and off until someone presses the button to play.
Start the game by illuminating one LED in the first round. The player should replicate this by pressing the corresponding button, which will activate the matching LED. The player has a restricted time frame to press the button. If the player correctly follows the sequence, proceed to the second round, adding another LED to the sequence. Continue this process up to round 10.
The game ends if:
1. you fail.
2. you win.
If the user does not successfully mimic the pattern within the allotted time, the Failure sequence will activate, consisting of one LED blinking for three seconds. Subsequently, the player's achieved level will be indicated through a binary pattern displayed on the 4 LEDs. However, if the player successfully completes all 10 rounds, the Game Won sequence will initiate, featuring all 4 LEDs blinking on and off simultaneously.
Make sure that:
The Beginning Sequence and the random number generator have been implemented. Additionally, one round of the game has been successfully set up. The Game Won sequence has also been completed.
Please feel free to use tinkercad to replicate the breadboard as well as their connections to the ASM
Step by stepSolved in 3 steps
- Please could you show a screenshot of how you would connect these components on a breadboard at esp32 microcontroller; using TinkerCad. Please attach images const int waterDetectionSensor = 12; // Water detection sensorconst int ultrasonicSensorTrigger = 13; // Ultrasonic sensor trigger pinconst int ultrasonicSensorEcho = 14; // Ultrasonic sensor echo pinconst int infraredSensor = 15; // Infrared proximity sensorconst int buzzer = 16; // Buzzerconst int vibratorMotor = 17; // Vibrator motorconst int ledGreen = 18; // Green LEDconst int ledRed = 19; // Red LEDconst int toggleSwitch = 21; // Toggle switchconst int powerJack = 22; // Power jackarrow_forwardCreate a JavaFX application that displays a similar picture. You can use your own color palette. You do not have to match sizes exactly. You are free to add more details, but do not forget to print your name at the lower right angle.arrow_forwardJump to level 1 While E is equal to 77, toggle u each cycle. Otherwise, u is 0. Start u at 0. State/transition info Simulate Pause Insert state Insert transition Delete O Initial state a 00 Actions b 00 d 00 Condition E (8) Y (8) Z (8) F (8) Variables I (8) J(8) 3 Check Nextarrow_forward
- Write code to create the following in an SDL project using the SDL_Mixer library: Press the “1” key to play a short sound effect Press the “2” key to toggle if the sound loops or not. If you press it while it is already looping, it should stop the sound from playing Press the “3” key to decrease volume Press the “4” key to increase volumearrow_forwardWrite a C program in Arduino IDE which will work for the heating and cooling process. Use the temperature sensor (DHT11) to measure the current temperature. Display the current temperature on the LCD display. You need to use a loop for comparison of current temperature with the set temperature. LCD display should display the current and set temperature. Do implement red and green LEDS for heater and cooler side respectively.arrow_forwardThe class I'm taking is assembly programming. I have attached the instructions. i have also attached my work. Can you please tell me how to fix it so I can successfully run and compile program in visual studio . Thank you so much for your help!arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education