updated bubble.ino

changes for light barrier and output logic.
toDo: pin Mapping for ATmega48 for stand alone use