Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecture 7. Binary Codes Gray Code(s)  Unweighted code  Code values for successive decimal digits differ in exactly one bit.  Example: 2-bit Gray Code.

Similar presentations


Presentation on theme: "Lecture 7. Binary Codes Gray Code(s)  Unweighted code  Code values for successive decimal digits differ in exactly one bit.  Example: 2-bit Gray Code."— Presentation transcript:

1 Lecture 7

2 Binary Codes Gray Code(s)  Unweighted code  Code values for successive decimal digits differ in exactly one bit.  Example: 2-bit Gray Code DecimalBinaryGray Code 0 0000 1 0101 2 10 11 3 1110 ECE 301 - Digital Electronics2

3 3-bit Gray Code ECE 301 - Digital Electronics3 Decimal 0123456701234567

4 4-bit Gray Code ECE 301 - Digital Electronics4

5 Binary Code ASCII Code  American Standard Code for Information Interchange  Common code used for the storage and transfer of alphanumeric characters.  7-bit Weighted Code Can represent a total of 128 characters  Used to represent letters, numbers and other characters (e.g. special control characters)  Any word or number can be represented (and stored or transferred) using its ASCII Code. ECE 301 - Digital Electronics5

6 ASCII Code ECE 301 - Digital Electronics6


Download ppt "Lecture 7. Binary Codes Gray Code(s)  Unweighted code  Code values for successive decimal digits differ in exactly one bit.  Example: 2-bit Gray Code."

Similar presentations


Ads by Google