V5 Brain smart ports

Which wires are what actually depends on how the cable is made. These two posts show what each pin does for a particular crimp orientation:

If your wires are crimped reverse of this, then reverse the pin assignments.