Stéphane Cachat
/
Smoothie
smoothie port to mbed online compiler (smoothieware.org)
Embed:
(wiki syntax)
Show/hide line numbers
Configurator.h
00001 /* 00002 This file is part of Smoothie (http://smoothieware.org/). The motion control part is heavily based on Grbl (https://github.com/simen/grbl). 00003 Smoothie is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 00004 Smoothie is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00005 You should have received a copy of the GNU General Public License along with Smoothie. If not, see <http://www.gnu.org/licenses/>. 00006 */ 00007 00008 00009 #ifndef configurator_h 00010 #define configurator_h 00011 00012 #include "libs/Kernel.h" 00013 #include "libs/nuts_bolts.h" 00014 #include "libs/utils.h" 00015 #include "libs/StreamOutput.h" 00016 00017 00018 #define CONF_NONE 0 00019 #define CONF_ROM 1 00020 #define CONF_SD 2 00021 #define CONF_EEPROM 3 00022 00023 #define config_get_command_checksum 46310 // "config-get" 00024 #define config_set_command_checksum 55538 // "config-set" 00025 #define config_load_command_checksum 3143 // "config-load" 00026 00027 class Configurator : public Module { 00028 public: 00029 Configurator(){} 00030 00031 virtual void on_module_loaded(); 00032 virtual void on_console_line_received( void* argument ); 00033 virtual void on_gcode_execute( void* argument ); 00034 virtual void on_main_loop( void* argument ); 00035 00036 void config_get_command( string parameters, StreamOutput* stream ); 00037 void config_set_command( string parameters, StreamOutput* stream ); 00038 void config_load_command(string parameters, StreamOutput* stream ); 00039 }; 00040 00041 00042 #endif // configurator_h
Generated on Tue Jul 12 2022 14:14:40 by 1.7.2