- - - 421
01
3
2
6
7
5
4
0
Depends how you read the binary settings of the switches. Not that they are binary, just reminded me of it.
>
- - - 421
01
3
2
6
7
5
4
0
Depends how you read the binary settings of the switches. Not that they are binary, just reminded me of it.
>
Of course they're binary. Each switch only has two positions. But they don't make up one binary number in the sense that each one is worth twice the one to the right.
Well actually, it's the parity of that binary number which you don't think they make up that gives you the on or off status. Parity is not impacted by the order of the bits, but that number is useful.
Semantics. Is your telephone number a number? It's really a code. It's not 53 billion 497 million etc...
I was going it in Gray Code, where only one bit changes at a time, which results in the state of the light toggling each time. Doing it in binary order would result in a list going: off on on off on off off on
jgh
... and those that realise this is a ternary joke ;-)
Have something to add? Share your thoughts — no account required.
Ask the community — no account required