Fork of Smoothie to port to mbed non-LPC targets.

Dependencies:   mbed

Fork of Smoothie by Stéphane Cachat

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ExtruderScreen.h Source File

ExtruderScreen.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 #ifndef EXTRUDERSCREEN_H
00009 #define EXTRUDERSCREEN_H
00010 
00011 #include "libs/Kernel.h"
00012 #include "libs/nuts_bolts.h"
00013 #include "libs/utils.h"
00014 #include "libs/Pin.h"
00015 #include "LcdBase.h"
00016 #include "Panel.h"
00017 #include "PanelScreen.h"
00018 
00019 
00020 class ExtruderScreen : public PanelScreen {
00021     public:
00022         ExtruderScreen();
00023         void on_refresh();
00024         void on_enter();
00025         void on_main_loop();
00026         void display_menu_line(uint16_t line);
00027         void clicked_menu_entry(uint16_t line);
00028         int idle_timeout_secs() { return 60; }
00029 
00030     private:
00031       string command;
00032 };
00033 
00034 #endif