Reading from Serial and Storing in file

Hi guys,

Lately I'm doing alot live testing and using Arduino for reading the data. So I thought of storing the data running in Serial port. Now I know that I can use a micro SD card for storing a live data and another thing I came across for storing the live data is using "import processing.serial" . I tried the thing but I'm receiving an error 'import' does not name a type" . So guys please help me with this stuff.

Thanks in advance.

So I thought of storing the data running in Serial port.

What does this mean? Serial data comes in the serial port or goes out the serial port. It does not run around in the serial port.

Now I know that I can use a micro SD card for storing a live data

Or any other kind of data…

and another thing I came across for storing the live data is using “import processing.serial” .

Well, sure. If you are using Processing. But, you won’t be doing that on the Arduino. Perhaps on a Raspberry Pi.

So guys please help me with this stuff.

No. We can’t help you with stuff that can’t be done.