Presentation is loading. Please wait.

Presentation is loading. Please wait.

EE 316 Computer Engineering Junior Lab Project 2 Digital Yahtzee.

Similar presentations


Presentation on theme: "EE 316 Computer Engineering Junior Lab Project 2 Digital Yahtzee."— Presentation transcript:

1 EE 316 Computer Engineering Junior Lab Project 2 Digital Yahtzee

2 Topics Keypad Keypad Windows Graphical User Interface Windows Graphical User Interface Parallel Port Hardware Parallel Port Hardware Parallel Port Software Parallel Port Software

3 Keypad We will need keys 1,2,3,4,5 to select a die for rolling any other key to initiate rolls To detect a key press, you need connect the status bits to the rows and use the control port to scan the columns with a single ‘0’. A key press will a appear as a low on the status lines.

4 Graphical User interface Windows XP compatible software Windows XP compatible software Use MFC Use MFC –user should have no need to ask how to play the game –put all instructions needed on the display

5 Parallel Port Hardware ✔ Read the power point presentation from last week. ✔ Understand the pin assignment for the ports ● We have 8-bits for the data port (input/output), 4 bits for the control port (output) and 4 bits for the status (input). ● Note: Some of the bits are active high and some are active low.

6 Paralle Port Software Must be able to control the PC's parallel port Must be able to control the PC's parallel port –See information on parallel ports in the UL-99/bin folder in the lab –Remember that the pin 13 of the DB-25 is missing on the 24-pin header (one control output bit is missing) –You have to output data to the 7-segment displays. –You need to send control signals to the keypad to scan for key press. –You should be able to read data on the status port to detect keypad press –Using the control output and the status input, the software should be able to recognize which key has been pressed on the keypad.


Download ppt "EE 316 Computer Engineering Junior Lab Project 2 Digital Yahtzee."

Similar presentations


Ads by Google