I'm just starting to sink my teeth into Arduino for the first time so if there are noob questions here I apologize.
My project is to play back the sensor outputs from an engine over a certain dyno cycle. I'm using a cool component called a CANalyzer to output CAN messages for engine speed, etc, but that is completely separate from the arduino project (I'm just planning to press start on the CANalyzer and on the Arduino at the same time). On arduino I'm simply playing back 4 analog 0-5V signals from a MCP4728 (4 channel DAC) using I2C from an Arduino Uno. I found some libraries from the internet for it, and figured out how to update all the libraries I found for 1.05 IDE which is what I have. I've got that part solved and have the code to the point where I can output whatever voltage I type in, but that's just a single constant value.
I know the memory is very limited on the Arduino so I'm trying to figure out the best way to do the actual project, which is to play back the 4 signals over 1200 seconds, one point per signal each second.
So I guess I could make that a 1200x4 array and assume the index is the timestamp in seconds so I don't need a timestamp column.
So the first most basic question is how/where should that 1200x4 relay be stored, if it's even possible to do so? It will be composed of ints. Can I put a 1200x4 array of ints on there as a variable without killing the memory?
Failing that, another option would be to put 1200 lines of code, each of which manually changes the register, so the values are not stored as a variable but stored as code. Can the arduino handle 1,200 lines of code? This seems like a horrible way to do this but oh well.
Alternately if neither of these approaches work, I could either have the computer connected and send the data over serial somehow so it's not stored on the arduino, via Processing or otherwise (not ideal for my computer to be part of the system but if it's required it's fine), or include an SD card shield and have it read the CSV off the SD card (adds more complication and have to wait to order the shield).
Thanks for any input, we'll go from there.