Hey, I’m trying to save some default values to the sd card of my v5 brain. We have 4 different driving setups, since we have multiple drivers. The idea is that I can set the default value and save it on the sd card, so the robot defaults to that mode every time it starts up. I’m using vex-code.
Not sure how to do that but…
You could use a potentiometer or something of the sort to set driver mode
weilin
December 14, 2019, 10:02am
#3
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.
I have been hearing about Auton Selectors and wondering how they work. If you guys could explain this that would be great!
I am new to coding and I noticed watching scrims on YouTube that there are 4 different places you can be on the field. Do you get to choose what side you can be on? Do you have to do 4 different lines of code and if so how do you select the certain corner you are in during competition?
So I’m trying to write a GUI in pros C++ using LLEMU to switch programs in my auton selector, kind of like in this video. Only difference is that I want to use 1 limit switch instead of 2. However, I have no idea what functions or keywords to use in order to utilize the limit switch input. Roughly, i plan to do something along the lines of
if(limit is pressed){//I don’t know what the technical way to state this is
limitCount = limitCount++;
followed by a switch statement corresponding to each…
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: https://www.vexforum.com/search?q=SD%20card%20read%20write%20%20order%3Alatest