Vex V5 Brain Memory Error

Welcome to the forum!

The usual suspect is that you are calling Brain.ThreeWirePort before it has been instantiated:

If that doesn’t work, please share your program so we can diagnose further.