8 years, 4 months ago.  This question has been closed. Reason: Duplicate question

Move to the right column

Hello to everyone. I have my little problems. I can not save data to the SD card. I want to record the left side to the right. not from top to bottom. M /media/uploads/jafarov/ekran2.jpg y code

SDFileSystem sd(p5, p6, p7, p8, "sd"); the pinout on the mbed Cool Components workshop board int b=15; int a=20;

int main() { mkdir("/sd/Sistem", 0777); /media/uploads/jafarov/ekran_al-nt-s-.jpg

FILE *fp = fopen("/sd/Sistem/canbus.csv", "w"); if(fp == NULL) { error("Could not open file for write\n"); }

fprintf(fp, "%d%d \n",a,b); fprintf(fp, "aaaaaaaaaaaaaaaaaaa"); fclose(fp); } /media/uploads/jafarov/ekran_al-nt-s-.jpg /media/uploads/jafarov/ekran_al-nt-s-.jpg /media/uploads/jafarov/ekran_al-nt-s-.jpg