Servo2040 Pinout Reference

Can you help to figure out the pin numbers used in software to the actual board? I looked at the schematic you posted and it’s still not clear to me. I’m a coder who is trying to get into robotics.