bdurbrow / grbl-Mega

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560
https://github.com/gnea/grbl/wiki
MIT License
35 stars 8 forks source link

Enhancement: add jog menu. #22

Open thawkins opened 5 years ago

thawkins commented 5 years ago

Add a jog menu to the lscd menues, with the ability to select an axis, movemeht would track the ui encoder mivement (1mm/step x/y, 0.1mm/step z) until tbe encoder button is pressed to terminate jog mode.

bdurbrow commented 5 years ago

Jog mode is currently triggered from the keypad; and the encoder button switches between jog increments (the increments available are configurable in config.h.

I can add an optional (via #define setting) set of menu commands to enter jog mode with a specific axis selected.

thawkins commented 5 years ago

What about using long press on the encoder button to exit jog.

On Mon, Oct 28, 2019, 1:50 AM Britt, notifications@github.com wrote:

Jog mode is currently triggered from the keypad; and the encoder button switches between jog increments (the increments available are configurable in config.h.

I can add an optional (via #define setting) set of menu commands to enter jog mode with a specific axis selected.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bdurbrow/grbl-Mega/issues/22?email_source=notifications&email_token=AAADRSMSZHJZXJKHDQDROVDQQXIHTA5CNFSM4JFRBTJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECLEA6I#issuecomment-546717817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADRSNE3EB4V4ORR4YAWZTQQXIHTANCNFSM4JFRBTJA .

bdurbrow commented 5 years ago

What about using long press on the encoder button to exit jog.

The UI infrastructure isn't set up for that. Everything is done on key-down events, not key-up events.

Exiting jog is done with the second button on the LCD card (generally speaking, that button is used as "back" or "cancel").