In a series of sensors, accompanying LEDs of which if the corresponding sensor got intercepted the LED goes 100%, other wise its 50%, it goes on it the adjescent sensor is intercepted, how can we implement this idea ?, i used various codes with bit shifting, gates etc , none is working, anyone have a better idea ?
100% and 50% means 100% intensity and 50% intensity
just a series of LEDs
Normally the LEDs are 50% intensity
if a corresponding sensor is intercepted then the LED goes 100% and holds that until an adjescent sensor is intercepted.
I think you'll find the brightness change won't be very noticeable, because the eye's response is roughly logarithmic. Reduce the 50% figure. Why not make it 0%?