mstrens / grbl_controller_esp32

grbl controller for esp32
174 stars 76 forks source link

Can I cancel the key function of SD grbl? #43

Open viewsat opened 2 years ago

viewsat commented 2 years ago

Hello: Can I cancel the key function of SD grbl? Or can you tell me where to modify the program. Or it can be modified to read the grbl sd card period, if it exceeds the set time, it will end the read and return.

IMG_1735-cut

When I connect to grbl (arduino uno) without sd card, it will stay waiting and not work

IMG_1736-cut

mstrens commented 2 years ago

In file SetupTxt.cpp, there is curently a line fillMPage (_P_PRINT , 8 , _SD_GRBL , _JUST_PRESSED , fGoToPage , _P_SD_GRBL_WAIT) ;

You can comment it adding "//" in front of it so like //fillMPage (_P_PRINT , 8 , _SD_GRBL , _JUST_PRESSED , fGoToPage , _P_SD_GRBL_WAIT) ;

The button will not be displayed anymore.

viewsat commented 2 years ago

In file SetupTxt.cpp, there is curently a line fillMPage (_P_PRINT , 8 , _SD_GRBL , _JUST_PRESSED , fGoToPage , _P_SD_GRBL_WAIT) ;

You can comment it adding "//" in front of it so like //fillMPage (_P_PRINT , 8 , _SD_GRBL , _JUST_PRESSED , fGoToPage , _P_SD_GRBL_WAIT) ;

The button will not be displayed anymore.

Thank you! I used your instructions to modify, the SD grbl button has been cancelled.

IMG_1738-s