Save data to file

Hi there,

So here are a few news about this experiment. It is able to acquire data from a detector made of a scintillator and a PIN diode or from a PhotoMultiplier. It will display directly the histogram of the spectrum on the screen connected to the Arduino. When the spectrum is thought to be good enough, one can press a physical button connected to the Arduino in order to save the actual histogram into a file. I find this method much more efficient and useful than using a terminal emulator and saving each entry in the file. I guess that will depend on what data you have and what you want to do with them.
Here are the final version of the files that allow to do that, maybe this will be useful to someone.

Base.java (77.3 KB)

Serial.java (20.6 KB)

SerialMonitor.java (8.06 KB)