Marvas / Mbed 2 deprecated sd_kart_okuma_yazma_son

Dependencies:   mbed sd_kart_yazma_okma

Files at this revision

API Documentation at this revision

Comitter:
marvas
Date:
Mon Mar 02 11:40:25 2020 +0000
Parent:
2:279a4193cde4
Commit message:
sd kart okuma yazma pinler yeni

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 279a4193cde4 -r d8b420b7c7ff main.cpp
--- a/main.cpp	Mon Mar 02 11:01:21 2020 +0000
+++ b/main.cpp	Mon Mar 02 11:40:25 2020 +0000
@@ -1,6 +1,8 @@
 #include "mbed.h"
 #include "SDFileSystem.h"
-SDFileSystem sd(D12, D11, D13, D10, "sd"); // mosi, miso, sclk, cs(scl)
+SDFileSystem sd(PB_5, PB_4, PB_3, PB_10, "sd"); // mosi, miso, sclk, cs(scl)
+//d10 d11 d12 d13 pinlerini kullanma
+
 unsigned char c;
 
 int main()
@@ -22,7 +24,7 @@
 
         else {
             //Sd karta yazar
-            fprintf(fp, "ismek fatih bilisim okulu\n");
+            fprintf(fp, "arm islemci programlama\n");
             fclose(fp); //Dosya kapat
 //
             FILE *fpr = fopen("/sd/belge.txt", "r");