I'm having another go with the output system again but this time I'm trying to interface MAME's output (through MAME Hooker) to an Arduino using a RS232 link. Problem is I'm trying to get the 7-Segment displays from the NEO-GEO to function but am getting stumped on how to convert the values. As I noted last time the output system outputs what pins on the 7-seg display would be high so you could directly drive the display from that, however I cannot using an RS232 link but I don't know how to convert this value back to decimal or binary. For example I have the following list of the output numbers: