1 Star 2 Fork 1

uncommon_ljl/grbl_controller_esp32

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
menu_file.h 1.23 KB
Copy Edit Raw Blame History
#ifndef menu_file_h
#define menu_file_h
#include "Arduino.h"
void fillFileMenu ( void ) ;
boolean sdStart( void ) ; // close all find, check sd card and open currentDir on root.
uint16_t fileCnt( uint8_t level ) ; // count number of files in directory specified by level
boolean updateFilesBtn() ; // update the buttons to be displayed; return false in case of error
boolean startPrintFile( ) ; // open the file to be read, fileIdx gives the index of the fileName; return false if file can't be opened and fill a lastMessage
void closeFileToRead(void ) ; // close fileToRead (file used to send the data)
boolean changeDirectory() ; // change the directory when file selected is a directory
boolean fileToReadIsDir() ;
void closeAllFiles() ;
boolean setFileToRead ( uint8_t fileIdx ) ;
boolean sdMoveUp() ;
boolean fileIsCmd() ; // check if the file is a cmd and if so, copy it into the SPIFFS, return true if it is cmd file
boolean createFile(char * fileName) ;
void setShowBuffer() ; // fill the show buffer and some variables when we enter the sd show screen
void setNextShowBuffer() ; // this is call when we press the next btn on sd show
void setPrevShowBuffer() ; // this is call when we press the prev btn on sd show
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/uncommon_ljl_admin/grbl_controller_esp32.git
git@gitee.com:uncommon_ljl_admin/grbl_controller_esp32.git
uncommon_ljl_admin
grbl_controller_esp32
grbl_controller_esp32
master

Search