Changed from binary encoding to multiplexing at the cost of a few pins