here is the arduino based mpguino schematic:
and here is the actual chip pin mappings:
so you should be able to determine what pins on the atmega should be connected to what leads and which ones they shouldn't be connected to with that info and lots of probing with a voltage meter.