Here's the solution that we came up with:
We have two input lines per trit. The bottom line is 1, the top line is 2, and neither would be 0. However, since it is possible to input both 1 and 2 at the same time with this implementation, we simply clamp the value down to 2 using a piston that cuts off the bottom line whenever the top line is on.
There are probably other ways to express ternary in redstone (ie signal strength), but that was the easiest to implement.
We have two input lines per trit. The bottom line is 1, the top line is 2, and neither would be 0. However, since it is possible to input both 1 and 2 at the same time with this implementation, we simply clamp the value down to 2 using a piston that cuts off the bottom line whenever the top line is on.
There are probably other ways to express ternary in redstone (ie signal strength), but that was the easiest to implement.
I'M BAAAAAAACK!