
A Knight Rider-style LED chaser with PWM brightness control. Speed and pause are adjustable using three debounced buttons. A bargraph is used as LED bar.
Reset. Start with pause button. LEDs start moving. Use faster/slower buttons to adjust the movement speed. Use pause button to freeze the movement, as well as to continue.
3x push button + 1x reset button 1x bargraph or 8x LED
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | pause | LED0 | |
| 1 | faster | LED1 | |
| 2 | slower | LED2 | |
| 3 | LED3 | ||
| 4 | LED4 | ||
| 5 | LED5 | ||
| 6 | LED6 | ||
| 7 | LED7 |