Looking to use 10 digital inputs to give an analog value for a the X axis of a game controller.
So rather than a true analog input, it will be 10 or 11 stepped positions from the digital inputs.
The digital truth table looks like this -
0 1 2 3 4 5 6 7 8 9 Analog
1 0 0 0 0 0 0 0 0 0 1023
1...