After-09 - • Delete button deletes the last digit entered remaining digits should shift accordingly to replace deleted digit • Clear button

Info iconThis preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CPEG222 - Project 2 Keypad Calculator For this project, you will implement a 4-digit LED (7-segment) display that displays a user’s input from a keypad. A user may press a number key on the keypad, and that number key will be displayed in the least significant digit of the display. When another number key is entered, this shifts all other digits on the display, and takes the position of the least-significant digit. A user may either delete the last digit entered, or clear the display entirely. Two Arithmetic function buttons will allow addition and subtraction of two numbers, each of a variable number of digits. 1. Display: 20 points Display Brightness - a sliding scale is given for the brightness of the display. A display that is bright enough to be seen easily will earn full points; an unacceptable display will earn few points. No flickering of display 2. Operation: 50 points Displays nothing by default. Digits 0-9 are able to be displayed in any combination.
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 12
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 14
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: • Delete button - deletes the last digit entered; remaining digits should shift accordingly to replace deleted digit. • Clear button - resets the display to show nothing. (Only resets current number being entered) • Plus (+) button - stores first value and readies the display to accept a second number for addition. ± Ignored if at least one digit hasn’t been entered of the first number ± Ignored if the (+) or (-) keys have already been pressed, but before the (=) • Minus (-) button - Same function as (+), just subtraction. • Equal (=) button - Displays the arithmetic result, previously entered. ± Ignored if two numbers and arithmetic function not previously entered. • 2 keys pressed at the same time will be ignored. • Overflow or Underflow result of the arithmetic operation, should results in “9999” flashing until the Clear button is pressed....
View Full Document

This note was uploaded on 10/07/2009 for the course CPEG 222 taught by Professor Robb,b during the Fall '08 term at University of Delaware.

Page1 / 14

After-09 - • Delete button deletes the last digit entered remaining digits should shift accordingly to replace deleted digit • Clear button

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online