The Whiffletree was used in mechanical calculators. It's an interesting way to encode digital data mechanically.