The scenario
Implements a sequential LED chasing effect (Knight Rider) where a single LED moves back and forth across 8 LEDs connected to PORTC of a PIC 16F887 microcontroller.
What is in this drawing
Read the decisions behind it.
01
Boundary detection to reverse direction
02
Shift direction determination
03
Delay for visible effect
Suitable for any microcontroller-based LED chaser where pattern shifts direction at boundaries.
More like this