1 Star 2 Fork 1

uncommon_ljl/grbl_controller_esp32

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
menu_file.h 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
#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

搜索帮助