Hmmm. I see a line "port_on(portd, 2);"
So im gonna take a leap of faith.
I see one of the pins called PD2, which is pin 4. I'll give that a shot. Im guessing that even if its wrong, I wont really hurt anything.
Sorry for bugging you admin, and thanks for the help.
I think im being overly cautious with this because ive already fried one chip, and i only have one backup, and Ive got to be done by thursday.