What are you connecting it to? You could use 2 74148 IC. Search for a datasheet on them.
I have been working on a project that MAY be helpful for you. It is the draft and needs to be cleaned up but it is runable:**broken link removed** Check out the '1 of 16'. I have not tested this yet.