Arduino light controller

Aim: Arduino program, which controls rear light with blinker.

Program lights up position light and waits for signal from remote switch. When signal comes position lights go off and sequence of lighting LEDs from right to left or from left to right begins. Arduino uses digital output, which is translated by shift register to binary.