Modified pin assignments for Mega