You are on page 1of 2

Name CSCE 3612 Lab xx Report Due xx/xx/2021

Student UNT email ID Page 1 of 2

Demonstration:
1. Demonstrate winning of the joystick game on the MSP432 and MK II board
2. Demonstrate losing of the joystick game on the MSP432 and MK II board.

Requirements:
1. Display “Joystick Game” as the title on the first line of the LCD screen. Center the
title on the LCD screen
2. Display “Input joystick X angle: ” left aligned on the next line of the LCD and accept
the angle input. Range -25° to +25°
3. Display “Input joystick Y angle: ” left aligned on the next line of the LCD and accept
the angle input. Range -25° to +25°
4. Display “Input time in seconds: ” left aligned on the next line of the LCD and accept
the time input. Range 1 to 60 seconds
5. Display “Start?” left aligned on the next line and wait for the push button S1 (P1.1)
input from the user to start the game
6. The user must move the joystick and match the input X and Y angle. If the user
exactly matches the angle within the input time, green LED of MK II board glows to
show a win otherwise the red LED of the MK II board glows to show that the user
has lost. When the user wins, a beep tone is generated using the buzzer
7. The LCD should display a running elapsed time in seconds in the next available
line

Page 1 of 3
Name CSCE 3612 Lab xx Report Due xx/xx/2021
Student UNT email ID Page 2 of 2

8. The LCD should also display the current X and Y angle of the joystick in the
next available line
9. When the game is over, display “Start again?” left aligned in the next line and
wait for the push button S1 (P1.1) input from the user to restart the game
10. Push button inputs (S1 (J4.33), S2 (J4.32), and S1 (P1.1)) should be configured
as interrupt inputs.

Learning Objectives:
The general learning objectives of this lab were . . .

General Steps:
The general steps needed to complete this lab were . . .

Detailed Steps:
Some detailed steps to complete this lab were . . . .
1. Step one
2. Step two
3. . . . .

(Include selected code snippets/procedures that were written by you that are important. Answer
all the questions asked in the lab document.)
(DO NOT INCLUDE PRINTOUTS OF REDILY AVAILABLE CODE FROM THE BOARD
DISK)
(DO NOT PRINT ALL CODE FROM YOUR EFFORTS – IF WE ASK FOR YOUR CODE,
YOU WILL BE ASKED TO SEND IT VIA EMAIL)

Observations:
Some important observations while completing/testing this lab were . . .

Summary:
In this lab we learned . . . .

Page 2 of 2

You might also like