As an introduction, I am very new to the Arduino and coding in general - so please don't be too harsh on me.
I'm a research student at Indiana State University where we are essentially hoping to use the Arduino Uno to acquire data of nonvolatile organic compounds and store this data onboard the microprocessor so that we may then analyze/make sense of the data elsewhere. I've been working on this project since February (once or twice a week) and I have the basic knowledge of the Arduino via the SparkFun Interactive Kit (SIK) Guidebook.
I'm currently using a waveform generator to send a frequency to the Arduino at 1 volt with this extremely simple code:
***I would greatly appreciate any help in bettering this code**
My instructor is hoping to be able to store the acquired data via onboard memory (Internal EEPROM) but he does not know much about the Arduino. Would the internal EEPROM be suitable for this type of project since it only stores 1 KB (ATmega328)? Also, being basically new to the coding scene, I'm uncertain as to how the EEPROM library works. What determines the value parameter in the EEPROM.write() function? I've read the reference page for the EEPROM at http://arduino.cc/en/Reference/EEPROM
but I guess I'm simply not understanding due to my inexperience with coding.
Please forgive any of my idiotic questions.