writing in to a micro sd card without using serial function

Hi guys , :slight_smile:

I m new to this forum , i am currently working on a college project name Data acquisition from a vehicle , in which i am taking the temperature sensor value and speedometer value and i am trying store it in a micro sd memory card , i have downloaded necessary libraries and examples but in all of them they are writing data serially using pc , my problem is i cant use pc in my project as i have to acquire data remotely (which i have done but unable to store )and i have to store it using microcontroller only... :~
can anyone help me how to write data in that card without using serial functions which they have given in examples , as data acquired by me from that mem card will be plotted as a graph and analysed...

i have downloaded necessary libraries and examples but in all of them they are writing data serially using pc

What libraries are you talking about? The SD library, delivered with the Arduino IDE doesn't even need the Serial object to be created.

sd libraries bro , as i have include them and enter my data acquired rite?? but in all of those examples data is written in to mem card using serial.print function which i cant use , as my project should not use pc

I'm not your bro, so don't call me that.

Stop dancing around, and post some code. The SD library that comes with the Arduino IDE does NOT use Serial to send data to the SD card.

PaulS:
I'm not your bro, so don't call me that.

Stop dancing around, and post some code. The SD library that comes with the Arduino IDE does NOT use Serial to send data to the SD card.

sorry , just saw code and confused
is this okay??
myFile.println("testing 1, 2, 3.");
to write in a memory card...

If myFile is an instance of the File class, and points to an open file, yes, that will work.