![](/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
LCDShow/LCDShow.h
- Committer:
- brainliang
- Date:
- 2018-05-08
- Revision:
- 4:c88bf297ee75
File content as of revision 4:c88bf297ee75:
#ifndef LCDSHOW_h #define LCDSHOW_h #include "mbed.h" #include "TextLCD.h" #include <vector> #include <string> #include "QEI.h" extern QEI Choose; extern InterruptIn btn3; class LCDShow:public TextLCD { public: LCDShow(PinName rs,PinName e,PinName d4,PinName d5,PinName d6,PinName d7,LCDType type = LCD16x2); void showdir(); void getDir(vector<string> _dir); void CurrPos(); void ReadFile(); string file_name; bool Read_file; private: vector<string> File_dir; int PrePos; int now_pos; int Max_pos; Ticker t1; Ticker t2; bool start; bool Pos_fresh; bool Neg_fresh; bool Now_fresh; }; #endif