ESP32_CNC_Pendant icon indicating copy to clipboard operation
ESP32_CNC_Pendant copied to clipboard

Adding custom Button(s).

Open amjadali56 opened this issue 1 year ago • 3 comments

Me again! 1: Is it possible to add some button like push button for E-stop. coolent on etc? 2: If yes! what will be practical example? Thanks for such good project.....

amjadali56 avatar Apr 27 '24 14:04 amjadali56

Hi. Yes, definitely possible. Connection would be similar to 3 UI buttons, and code would be similar to menu items that send commands to GRBL. Button handlers can go to Screen::onButtonPress (for buttons that need to function always, e.g. e-stop), and to DRO::onButtonPress for others

positron96 avatar May 03 '24 12:05 positron96

explain please.... I coudn't made it working....... for example i need E-stop button pinMode(PIN_BT4, INPUT_PULLUP);

and button for zero XY pinMode(PIN_BT5, INPUT_PULLUP);

amjadali56 avatar May 07 '24 10:05 amjadali56

Hi. I don't quite understand how I can help you without writing the code myself, which I don't have time for. Could you make a fork with what you've done so far and invite me to read it?

positron96 avatar May 13 '24 17:05 positron96

Fair enough.......

amjadali56 avatar Nov 13 '24 14:11 amjadali56