YOU CAN ALSO THINK OF IT AS, When you set the number and run it, the spark at the end jumps up by as many wires as the number it says your adding at the +1 +2 +4 +8.
+1 indicating the ones place in binary, ect. You clear the number by sparking the wire labeled CLR. You convert the number by sparking run. sometimes it doesn't work right, I think it's an issue with timing
You set the binary number on the right, where it says +1 +2 +4 +8. The switch being lit means theres a 1 in that place, and unlit indicates a 0. you set the value by sparking the wires labeled 1 and 0.
16 different outputs including all wires being unsparked.
You can use this to convert every combination of 4 wires states into 15 different outputs
SO, to make decimal one hot, it would be like: 0=01 1=10 2=100 3=1000 4=10000
One hot encoding is where you're limited to only one 1, and all the other places are 0, and placement exclusively is used to indicate value. so you have a 1s place, a 2s place a 3s place a 4s place off into infinity
Just like in decimal, where you have 10 states per place, 0 1 2 3 4 5 6 7 8 9, and you have a ones, tens, hundreds, thousands place, ect in powers of 10.
So, Binary is a number system where you have 2 states per place, 1 or 0, and you have a ones, twos, fours, and eights place, ect in powers of 2.