1 / 6

EE 316 Computer Engineering Junior Lab

EE 316 Computer Engineering Junior Lab. Project 2 Digital Yahtzee. Topics. Keypad Windows Graphical User Interface Parallel Port Hardware Parallel Port Software. Keypad. We will need keys 1,2,3,4,5 to select a die for rolling any other key to initiate rolls

Download Presentation

EE 316 Computer Engineering Junior Lab

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EE 316 Computer Engineering Junior Lab Project 2 Digital Yahtzee

  2. Topics • Keypad • Windows Graphical User Interface • Parallel Port Hardware • 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 • 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 • 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.

More Related