Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed sd_kart_yazma_okma
Revision 3:d8b420b7c7ff, committed 2020-03-02
- 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");