# Digital electronics

Digital electronics is the heart of modern technical life.

### Contents

Digital electronics introduction — Simplicity, abstraction, discipline, intent

### Logic

Logic — basic gates

Universal gates — your first logic puzzle

DeMorgan’s theorem

### Simplification

- Karnaugh map (Car’-naw)
- Gray code - distance 1 code, solves the Tower of Hanoi puzzle

### Bits as commands

Assertion

### Bits as symbols

- $2^n$
- distance

### Bits as numbers

- Binary numbers, octal hex
- Addition
- Subtraction

### Bits as memory

- Basic digital memory - cross-coupled inverters
- SR flip-flop with NAND and NOR
- Flip-flops — D, T, JK

### Counting

- Shift register
- Johnson counter
- Binary counter
- Linear-feedback shift register