|
Re: Autonomous Library!
Well, the data isn't stored in a "variable" array, It's stored in EEPROM memory. The EEPROM doesn't reset when it loses power.
I'm having lots of trouble getting the new controller to Accept the Read/Write functions.
Random Dude, Can you explain how they work a little bit?
From what I uderstand, you send an x and y address to read/write, and a char variable to read/write.
You convert char to int with (int)Char (where char is the char variable) right?
So, how do you convert int to char?
And, am I mistaken about the x,y address? It would mean that there's a 256x256 bit "array" being used, no?
I'm just trying to understand a little bit more.
My current auto modes just pull data from arrays. They work fine, but the problem is getting that driver input to stay. If you dump driver input to an array, it'll be gone when you reset.
You stated tat I could possibly use the Flash memory as well. Would this be any easier?
I'm just trying to get something basic going here.
__________________
-=Sachiel7=-

There's no such thing as being too simple!
Look for Team #1132, RAPTAR Robotics at the VCU Regional this year!
|