Praktikum VHDL II, Aufgabe 1: Lichtsensor