Sergey Pastor / grbl1
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers jog.h Source File

jog.h

00001 /*
00002   jog.h - Jogging methods
00003   Part of Grbl
00004 
00005   Copyright (c) 2016 Sungeun K. Jeon for Gnea Research LLC
00006 
00007   Grbl is free software: you can redistribute it and/or modify
00008   it under the terms of the GNU General Public License as published by
00009   the Free Software Foundation, either version 3 of the License, or
00010   (at your option) any later version.
00011 
00012   Grbl is distributed in the hope that it will be useful,
00013   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015   GNU General Public License for more details.
00016 
00017   You should have received a copy of the GNU General Public License
00018   along with Grbl.  If not, see <http://www.gnu.org/licenses/>.
00019 */
00020 
00021 #ifndef jog_h
00022 #define jog_h
00023 
00024 #include "gcode.h"
00025 
00026 // System motion line numbers must be zero.
00027 #define JOG_LINE_NUMBER 0
00028 
00029 // Sets up valid jog motion received from g-code parser, checks for soft-limits, and executes the jog.
00030 uint8_t jog_execute(plan_line_data_t *pl_data, parser_block_t *gc_block);
00031 
00032 #endif