Vex V5 Brain Memory Error

Tonight when changing our program to add pneumatics, we came across the problem of having a Memory Permission Error, we tried multiple things, including turning the brain on and off, resetting the brain, and uploading the program multiple times. We also deleted the V5 coding and reinstalled it. If you have any suggestions, please let me know.

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.


Thanks for the help, after a little bit more troubleshooting we figured it out.