All Projects / Display / Knight Rider running lights
Knight Rider running lights
1 vote
Sign In to add your vote
DOWNLOAD NOW!
DIFFICULTY
DESCRIPTION

Here's a little project that uses sequenced lighting to mimic the car from Knight Rider (remember the early 80s?).

The output LEDs smoothly run back and forth at the push of a button (on In_1).

The code is essentially made in two section.
1. If the button is pressed, sequenct and fade the lights
2. If the button is not pressed, slowly fade out the lights from whatever they were.
THE CODE
Setup
Main Program
WHAT YOU NEED
1:
Button

2:

3:

4:

5:

A:

B:

C:

D:

E:

CREDITS
Built by
Adam Kumpf
Posted by
Adam Kumpf
Views
3618
Downloads
282