Saving variable value to sd card

Saving default values to SD card sounds like an overkill for that task.

What you likely need is to have a menu for autonomous selector.

Then you can select program mode either with touch screen on the brain or buttons.

But if you really need to read or write values on SD card search: Search results for 'SD card read write order:latest' - VEX Forum