Pop True or False Quiz w/ULCD and Mbed

Overview

For our project we made a simple game using a ULCD and Mbed. The game is a mini pop quiz. The program shows a title screen with the game being played in the background. There are two push-button(Yes/No) on the breadboard. When the player presses any botton, on the LCD the game starts. When playing the game, the player needs to choose yes or no botton for each question. There is a count down timer for each question. The ULCD will show whether it is right or wrong for each question after each click. When the timer is down to zero, the next question will automatically appear to the screen and the score for previous question will be zero. After the quiz ends, it will give an overall grade for this player.

Code

Import programMini_project

Miniproject of ECE4180

Gallery

/media/uploads/nickhaitian/photo_mar_09-_17_09_16.jpg

Video

Description

Press any key to start the quiz. Each question will start within 3 seconds. There is only 10 seconds to answer each question. After each click, the screen will show whether it is right or wrong for your answer. If you did not press any button and the time clock is down to zero. The next question will automatically appear and your score for the previous question will be zero. After you finish each test, the screen will show what percentage you get it right.

Components

Mbed
uLCD

Pin

MbeduLCD cable
5V=VU5V
GndGnd
TX=P9RX
Rx=P10Tx
P11Reset


Please log in to post comments.