![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
dsfa
Dependencies: dsf SDFileSystem TextLCD mbed stepper_moter
Fork of my_example_Nucleo_Ex05_SD_zhangyuxiang2 by
SDRead/SDRead.h@4:c88bf297ee75, 2018-05-08 (annotated)
- Committer:
- brainliang
- Date:
- Tue May 08 01:50:44 2018 +0000
- Revision:
- 4:c88bf297ee75
sdfa
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
brainliang | 4:c88bf297ee75 | 1 | #ifndef SDREAD_H |
brainliang | 4:c88bf297ee75 | 2 | #define SDREAD_H |
brainliang | 4:c88bf297ee75 | 3 | #include "SDFileSystem.h" |
brainliang | 4:c88bf297ee75 | 4 | #include "mbed.h" |
brainliang | 4:c88bf297ee75 | 5 | #include <vector> |
brainliang | 4:c88bf297ee75 | 6 | #include <string> |
brainliang | 4:c88bf297ee75 | 7 | |
brainliang | 4:c88bf297ee75 | 8 | class SDRead:public SDFileSystem |
brainliang | 4:c88bf297ee75 | 9 | { |
brainliang | 4:c88bf297ee75 | 10 | public: |
brainliang | 4:c88bf297ee75 | 11 | SDRead(PinName mosi,PinName miso,PinName sclk,PinName cs,const char *name); |
brainliang | 4:c88bf297ee75 | 12 | vector<string> File_dir; |
brainliang | 4:c88bf297ee75 | 13 | vector<string> Info; |
brainliang | 4:c88bf297ee75 | 14 | bool Get_FileDir(); |
brainliang | 4:c88bf297ee75 | 15 | bool Read_File(const char* FileName); |
brainliang | 4:c88bf297ee75 | 16 | }; |
brainliang | 4:c88bf297ee75 | 17 | #endif |