Gestione accelerometro e scrittura su SD da F4

Dependencies:   SDFileSystem1 mbed

Fork of SDFileSystem_HelloWorld by mbed official

main.cpp

Committer:
NdA994
Date:
2017-11-20
Revision:
2:f59bd5312559
Parent:
0:bdbd3d6fc5d5

File content as of revision 2:f59bd5312559:

#include "mbed.h"
#include "setting.h"
#include "lettoreSD.h"


int main() {
    init();
    printf("Hello World!\n\r");
    initFile();  
    aperturaFile();
    for(int i=0; i<1000; i++){
        stampaFile("A1xxxxoooooggggggeeeeeeerrrryyyyynhgrgr#2\r\n");
    }
    chiusuraFile(); 
    aperturaFile();
    for(int i=0; i<1000; i++){
        stampaFile("A1xxxxoooooggggggeeeeeeerrrryyyyynhgrgr#2\r\n");
    }
    chiusuraFile(); 
    printf("Goodbye World!\n\r");
    
}