Quote:
Originally Posted by marccenter
Dear CD,
I can't figure out for the life of me why I cannot see the third button case while seeing cases 1, 2, and 4?
|
I wonder if the third button is generating a a value of 4 and your fourth button generates a value of 8?
When you convert a binary array to a number, each bit takes a power of 2 value. To get three, you'd need 1 and 2 simultaneously.