This project is based on ARDX 2 from Oomlout and uses multiple LEDs to create simple patterns. It gets its name from Glen A. Larsen who wrote the Knight Rider TV Series. It uses for loops, which are one of the key repetition constructs in computing.
Start by gathering your parts together:
Step 1: Build your circuit
Step 2: Write your code
Upload your code and enjoy.
Step 3: Extensions
- Try and program the following patterns 1ON 2ON 1OFF 3ON 2OFF 4ON 3OFF and so on.
- Try and program the following pattern: 1+4ON 2+3ON so the LEDs light from the ends towards the middle.
- Try lighting the LEDs from the middle outwards