random on/off with shift register

LarryD:
Please edit the title of this thread. sh#t to shift

You control the value sent to the shift register, place your limits in your code.

sorry I am newbie and not sure what you mien can you show me what it is your telling me