A Nibble of Binary

in knowledge •  7 years ago 

3 light traffic signal

The state of a light, being either on or off, can be used to communicate or store information.

For example, each light of a traffic signal has a meaning.

Combinations of lights can also have meanings. In the UK, for example, red and yellow together indicate that the green light is about to turn on.

In fact, there are eight possible combinations. Many of them are not used, but each could have a meaning.

8 combinations of a 3 light traffic signal


With four lights instead of three, there are sixteen possible combinations. These combinations can be used to represent the numbers from zero to fifteen.

16 combinations of 4 lights next to the numbers 0 to 15


Of course with more lights, more numbers can be represented. With eight lights, 256 combinations are possible.

Questions, comments, or corrections welcome!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!