The objectives of this assignment are to demonstrate an understanding of:
The objective of this assignment is to implement a reaction test timer using the ARM development board. Using the Eclipse IDE load and run this program on the ARM development board before continuing with the assignment.
The reaction timer displays the time it takes for the user to react to an LED being illuminated. It displays the time in seconds to an accuracy of one thousandth of a second.
If the user presses any button other than the button indicated by the LED the count should continue. If the user fails to react, the count stops at 9.999 seconds.
If the user presses one or more buttons before the countdown finishes, the countdown is suspended until all the buttons are released.
The reaction timer should use the Programmable Interval Timer (PIT) to ensure an accurate time period and the SevenSegmentDisplay library to turn the OLED display into a 4-digit seven-segment display device.
When the reaction period starts the display should begin counting the elapsed time.
You will need to create functions to read the state of the Buttons and set the colour of the LEDs. Use the template files ButtonFunctions.c and
LEDFunctions.c to create your own library functions. If you wish you could use the provided Button and LED libraries.
You are provided with a program (Assignment 1) containing a skeleton main routine. Additional local routines and/or variables may also need to be provided to achieve the required functionally.
You will be assessed on the source code you submit. All code will be recompiled before testing. Marks will be awarded as follows:
PIT interrupts (10%)
Display of elapsed time (10%)
Reaction Time count stops at 9.999 (10%)
Accuracy of Reaction Time count (10%)
The marks for the Display Functionality are made up as follows:
Implementation of Button functions (10%)
Implementation of LED functions (10%)
Flashing LED start indicator (10%)
Assignment Writing Help
Engineering Assignment Services
Do My Assignment Help
Write My Essay Services