Added a structure that will allow easy translations/modifications to the LCD menu.
Signed-off-by: Blair Thompson <mail@justblair.co.uk>2.0.x
parent
a05a261b72
commit
fe940a142d
@ -0,0 +1,60 @@
|
|||||||
|
#define __AVR_ATmega2560__
|
||||||
|
#define __cplusplus
|
||||||
|
#define __builtin_va_list int
|
||||||
|
#define __attribute__(x)
|
||||||
|
#define __inline__
|
||||||
|
#define __asm__(x)
|
||||||
|
#define ARDUINO 100
|
||||||
|
extern "C" void __cxa_pure_virtual() {}
|
||||||
|
#include "C:\arduino-1.0\libraries\LiquidCrystal\LiquidCrystal.h"
|
||||||
|
#include "C:\arduino-1.0\libraries\LiquidCrystal\LiquidCrystal.cpp"
|
||||||
|
void enquecommand(const char *cmd);
|
||||||
|
void setup_photpin();
|
||||||
|
void setup_powerhold();
|
||||||
|
void suicide();
|
||||||
|
void setup();
|
||||||
|
void loop();
|
||||||
|
void get_command();
|
||||||
|
float code_value();
|
||||||
|
long code_value_long();
|
||||||
|
bool code_seen(char code_string[]);
|
||||||
|
bool code_seen(char code);
|
||||||
|
void process_commands();
|
||||||
|
void process_commands();
|
||||||
|
void FlushSerialRequestResend();
|
||||||
|
void ClearToSend();
|
||||||
|
void get_coordinates();
|
||||||
|
void get_arc_coordinates();
|
||||||
|
void prepare_move();
|
||||||
|
void prepare_arc_move(char isclockwise);
|
||||||
|
void manage_inactivity(byte debug);
|
||||||
|
void kill();
|
||||||
|
char *createFilename(char *buffer,const dir_t &p);
|
||||||
|
void lcdProgMemprint(const char *str);
|
||||||
|
int intround(const float &x);
|
||||||
|
void lcd_status(const char* message);
|
||||||
|
void lcd_statuspgm(const char* message);
|
||||||
|
FORCE_INLINE void clear();
|
||||||
|
void lcd_init();
|
||||||
|
void beep();
|
||||||
|
void beepshort();
|
||||||
|
void lcd_status();
|
||||||
|
void buttons_init();
|
||||||
|
void buttons_check();
|
||||||
|
char *ftostr3(const float &x);
|
||||||
|
char *itostr2(const uint8_t &x);
|
||||||
|
char *ftostr31(const float &x);
|
||||||
|
char *ftostr32(const float &x);
|
||||||
|
char *itostr31(const int &xx);
|
||||||
|
char *itostr3(const int &xx);
|
||||||
|
char *itostr4(const int &xx);
|
||||||
|
char *ftostr51(const float &x);
|
||||||
|
void wd_init();
|
||||||
|
void wd_reset();
|
||||||
|
|
||||||
|
#include "C:\arduino-1.0\hardware\arduino\variants\mega\pins_arduino.h"
|
||||||
|
#include "C:\arduino-1.0\hardware\arduino\cores\arduino\Arduino.h"
|
||||||
|
#include "C:\Users\Blair\Desktop\Marlin_v1\Marlin\Marlin.pde"
|
||||||
|
#include "C:\Users\Blair\Desktop\Marlin_v1\Marlin\cardreader.pde"
|
||||||
|
#include "C:\Users\Blair\Desktop\Marlin_v1\Marlin\ultralcd.pde"
|
||||||
|
#include "C:\Users\Blair\Desktop\Marlin_v1\Marlin\watchdog.pde"
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
#v4.0:v100
|
||||||
|
Debug|Win32|C:\Users\Blair\Desktop\Marlin_v1\Marlin\|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,141 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Marlin.pde" />
|
||||||
|
<None Include="cardreader.pde" />
|
||||||
|
<None Include="ultralcd.pde" />
|
||||||
|
<None Include="watchdog.pde" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include=".Marlin.vsarduino.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="cardreader.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Configuration.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Configuration_adv.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="EEPROMwrite.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="fastio.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Marlin.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="MarlinSerial.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="motion_control.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="pins.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="planner.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Sd2Card.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Sd2PinMap.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="SdBaseFile.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="SdFatConfig.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="SdFatStructs.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="SdFatUtil.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="SdFile.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="SdInfo.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="SdVolume.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="speed_lookuptable.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="stepper.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="temperature.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="thermistortables.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="ultralcd.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="watchdog.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="wiring.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="language.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="MarlinSerial.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="motion_control.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="planner.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Sd2Card.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="SdBaseFile.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="SdFatUtil.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="SdFile.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="SdVolume.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="stepper.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="temperature.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
</Project>
|
Binary file not shown.
@ -0,0 +1,318 @@
|
|||||||
|
#ifndef LANGUAGE_H
|
||||||
|
#define LANGUAGE_H
|
||||||
|
|
||||||
|
// Languages
|
||||||
|
// 1 Custom (For you to add your own messages)
|
||||||
|
// 2 English
|
||||||
|
// 3 French (Waiting translation)
|
||||||
|
// 4 German (Waiting translation)
|
||||||
|
// 5 Etc
|
||||||
|
|
||||||
|
#define LANGUAGE_CHOICE 1 // Pick your language from the list above
|
||||||
|
|
||||||
|
#if LANGUAGE_CHOICE == 1
|
||||||
|
|
||||||
|
// LCD Menu Messages
|
||||||
|
|
||||||
|
#define WELCOME_MSG "RepRap Ready."
|
||||||
|
#define MSG_SD_INSERTED "Card Ready"
|
||||||
|
#define MSG_SD_REMOVED "Card Initiate"
|
||||||
|
#define MSG_MAIN " Main \003"
|
||||||
|
#define MSG_AUTOSTART " Autostart"
|
||||||
|
#define MSG_DISABLE_STEPPERS " Disable Steppers"
|
||||||
|
#define MSG_AUTO_HOME " Auto Home"
|
||||||
|
#define MSG_SET_ORIGIN " Set Origin"
|
||||||
|
#define MSG_PREHEAT " Preheat"
|
||||||
|
#define MSG_COOLDOWN " Cooldown"
|
||||||
|
#define MSG_EXTRUDE " Extrude"
|
||||||
|
#define MSG_SPEED " Speed:"
|
||||||
|
#define MSG_NOZZLE " \002Nozzle:"
|
||||||
|
#define MSG_BED " \002Bed:"
|
||||||
|
#define MSG_FAN_SPEED " Fan speed:"
|
||||||
|
#define MSG_FLOW " Flow:"
|
||||||
|
#define MSG_CONTROL " Control \003"
|
||||||
|
#define MSG_MIN " \002 Min:"
|
||||||
|
#define MSG_MAX " \002 Max:"
|
||||||
|
#define MSG_FACTOR " \002 Fact:"
|
||||||
|
#define MSG_AUTOTEMP " Autotemp:"
|
||||||
|
#define MSG_ON "On "
|
||||||
|
#define MSG_OFF "Off"
|
||||||
|
#define MSG_PID_P " PID-P: "
|
||||||
|
#define MSG_PID_I " PID-I: "
|
||||||
|
#define MSG_PID_D " PID-D: "
|
||||||
|
#define MSG_PID_C " PID-C: "
|
||||||
|
#define MSG_ACC " Acc:"
|
||||||
|
#define MSG_VXY_JERK " Vxy-jerk: "
|
||||||
|
#define MSG_VMAX " Vmax "
|
||||||
|
#define MSG_X "x:"
|
||||||
|
#define MSG_Y "y:"
|
||||||
|
#define MSG_Z "z:"
|
||||||
|
#define MSG_E "e:"
|
||||||
|
#define MSG_VMIN " Vmin:"
|
||||||
|
#define MSG_VTRAV_MIN " VTrav min:"
|
||||||
|
#define MSG_AMAX " Amax "
|
||||||
|
#define MSG_A_RETRACT " A-retract:"
|
||||||
|
#define MSG_ESTEPS " Esteps/mm:"
|
||||||
|
#define MSG_MAIN_WIDE " Main \003"
|
||||||
|
#define MSG_TEMPERATURE_WIDE " Temperature \x7E"
|
||||||
|
#define MSG_MOTION_WIDE " Motion \x7E"
|
||||||
|
#define MSG_STORE_EPROM " Store EPROM"
|
||||||
|
#define MSG_LOAD_EPROM " Load EPROM"
|
||||||
|
#define MSG_RESTORE_FAILSAFE " Restore Failsafe"
|
||||||
|
#define MSG_REFRESH "\004Refresh"
|
||||||
|
#define MSG_WATCH " Watch \003"
|
||||||
|
#define MSG_PREPARE " Prepare \x7E"
|
||||||
|
#define MSG_CONTROL_ARROW " Control \x7E"
|
||||||
|
#define MSG_TUNE " Tune \x7E"
|
||||||
|
#define MSG_STOP_PRINT " Stop Print \x7E"
|
||||||
|
#define MSG_CARD_MENU " Card Menu \x7E"
|
||||||
|
#define MSG_NO_CARD " No Card"
|
||||||
|
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure."
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LANGUAGE_CHOICE == 2
|
||||||
|
|
||||||
|
// LCD Menu Messages
|
||||||
|
|
||||||
|
#define WELCOME_MSG "UltiMARLIN Ready."
|
||||||
|
#define MSG_SD_INSERTED "Card inserted"
|
||||||
|
#define MSG_SD_REMOVED "Card removed"
|
||||||
|
#define MSG_MAIN " Main \003"
|
||||||
|
#define MSG_AUTOSTART " Autostart"
|
||||||
|
#define MSG_DISABLE_STEPPERS " Disable Steppers"
|
||||||
|
#define MSG_AUTO_HOME " Auto Home"
|
||||||
|
#define MSG_SET_ORIGIN " Set Origin"
|
||||||
|
#define MSG_PREHEAT " Preheat"
|
||||||
|
#define MSG_COOLDOWN " Cooldown"
|
||||||
|
#define MSG_EXTRUDE " Extrude"
|
||||||
|
#define MSG_SPEED " Speed:"
|
||||||
|
#define MSG_NOZZLE " \002Nozzle:"
|
||||||
|
#define MSG_BED " \002Bed:"
|
||||||
|
#define MSG_FAN_SPEED " Fan speed:"
|
||||||
|
#define MSG_FLOW " Flow:"
|
||||||
|
#define MSG_CONTROL " Control \003"
|
||||||
|
#define MSG_MIN " \002 Min:"
|
||||||
|
#define MSG_MAX " \002 Max:"
|
||||||
|
#define MSG_FACTOR " \002 Fact:"
|
||||||
|
#define MSG_AUTOTEMP " Autotemp:"
|
||||||
|
#define MSG_ON "On "
|
||||||
|
#define MSG_OFF "Off"
|
||||||
|
#define MSG_PID_P " PID-P: "
|
||||||
|
#define MSG_PID_I " PID-I: "
|
||||||
|
#define MSG_PID_D " PID-D: "
|
||||||
|
#define MSG_PID_C " PID-C: "
|
||||||
|
#define MSG_ACC " Acc:"
|
||||||
|
#define MSG_VXY_JERK " Vxy-jerk: "
|
||||||
|
#define MSG_VMAX " Vmax "
|
||||||
|
#define MSG_X "x:"
|
||||||
|
#define MSG_Y "y:"
|
||||||
|
#define MSG_Z "z:"
|
||||||
|
#define MSG_E "e:"
|
||||||
|
#define MSG_VMIN " Vmin:"
|
||||||
|
#define MSG_VTRAV_MIN " VTrav min:"
|
||||||
|
#define MSG_AMAX " Amax "
|
||||||
|
#define MSG_A_RETRACT " A-retract:"
|
||||||
|
#define MSG_ESTEPS " Esteps/mm:"
|
||||||
|
#define MSG_MAIN_WIDE " Main \003"
|
||||||
|
#define MSG_TEMPERATURE_WIDE " Temperature \x7E"
|
||||||
|
#define MSG_MOTION_WIDE " Motion \x7E"
|
||||||
|
#define MSG_STORE_EPROM " Store EPROM"
|
||||||
|
#define MSG_LOAD_EPROM " Load EPROM"
|
||||||
|
#define MSG_RESTORE_FAILSAFE " Restore Failsafe"
|
||||||
|
#define MSG_REFRESH "\004Refresh"
|
||||||
|
#define MSG_WATCH " Watch \003"
|
||||||
|
#define MSG_PREPARE " Prepare \x7E"
|
||||||
|
#define MSG_CONTROL_ARROW " Control \x7E"
|
||||||
|
#define MSG_TUNE " Tune \x7E"
|
||||||
|
#define MSG_STOP_PRINT " Stop Print \x7E"
|
||||||
|
#define MSG_CARD_MENU " Card Menu \x7E"
|
||||||
|
#define MSG_NO_CARD " No Card"
|
||||||
|
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure."
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LANGUAGE_CHOICE == 3
|
||||||
|
|
||||||
|
// LCD Menu Messages
|
||||||
|
|
||||||
|
#define WELCOME_MSG "RepRap Ready."
|
||||||
|
#define MSG_SD_INSERTED "Card Ready"
|
||||||
|
#define MSG_SD_REMOVED "Card Initiate"
|
||||||
|
#define MSG_MAIN " Main \003"
|
||||||
|
#define MSG_AUTOSTART " Autostart"
|
||||||
|
#define MSG_DISABLE_STEPPERS " Disable Steppers"
|
||||||
|
#define MSG_AUTO_HOME " Auto Home"
|
||||||
|
#define MSG_SET_ORIGIN " Set Origin"
|
||||||
|
#define MSG_PREHEAT " Preheat"
|
||||||
|
#define MSG_COOLDOWN " Cooldown"
|
||||||
|
#define MSG_EXTRUDE " Extrude"
|
||||||
|
#define MSG_SPEED " Speed:"
|
||||||
|
#define MSG_NOZZLE " \002Nozzle:"
|
||||||
|
#define MSG_BED " \002Bed:"
|
||||||
|
#define MSG_FAN_SPEED " Fan speed:"
|
||||||
|
#define MSG_FLOW " Flow:"
|
||||||
|
#define MSG_CONTROL " Control \003"
|
||||||
|
#define MSG_MIN " \002 Min:"
|
||||||
|
#define MSG_MAX " \002 Max:"
|
||||||
|
#define MSG_FACTOR " \002 Fact:"
|
||||||
|
#define MSG_AUTOTEMP " Autotemp:"
|
||||||
|
#define MSG_ON "On "
|
||||||
|
#define MSG_OFF "Off"
|
||||||
|
#define MSG_PID_P " PID-P: "
|
||||||
|
#define MSG_PID_I " PID-I: "
|
||||||
|
#define MSG_PID_D " PID-D: "
|
||||||
|
#define MSG_PID_C " PID-C: "
|
||||||
|
#define MSG_ACC " Acc:"
|
||||||
|
#define MSG_VXY_JERK " Vxy-jerk: "
|
||||||
|
#define MSG_VMAX " Vmax "
|
||||||
|
#define MSG_X "x:"
|
||||||
|
#define MSG_Y "y:"
|
||||||
|
#define MSG_Z "z:"
|
||||||
|
#define MSG_E "e:"
|
||||||
|
#define MSG_VMIN " Vmin:"
|
||||||
|
#define MSG_VTRAV_MIN " VTrav min:"
|
||||||
|
#define MSG_AMAX " Amax "
|
||||||
|
#define MSG_A_RETRACT " A-retract:"
|
||||||
|
#define MSG_ESTEPS " Esteps/mm:"
|
||||||
|
#define MSG_MAIN_WIDE " Main \003"
|
||||||
|
#define MSG_TEMPERATURE_WIDE " Temperature \x7E"
|
||||||
|
#define MSG_MOTION_WIDE " Motion \x7E"
|
||||||
|
#define MSG_STORE_EPROM " Store EPROM"
|
||||||
|
#define MSG_LOAD_EPROM " Load EPROM"
|
||||||
|
#define MSG_RESTORE_FAILSAFE " Restore Failsafe"
|
||||||
|
#define MSG_REFRESH "\004Refresh"
|
||||||
|
#define MSG_WATCH " Watch \003"
|
||||||
|
#define MSG_PREPARE " Prepare \x7E"
|
||||||
|
#define MSG_CONTROL_ARROW " Control \x7E"
|
||||||
|
#define MSG_TUNE " Tune \x7E"
|
||||||
|
#define MSG_STOP_PRINT " Stop Print \x7E"
|
||||||
|
#define MSG_CARD_MENU " Card Menu \x7E"
|
||||||
|
#define MSG_NO_CARD " No Card"
|
||||||
|
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure."
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LANGUAGE_CHOICE == 4
|
||||||
|
|
||||||
|
// LCD Menu Messages
|
||||||
|
|
||||||
|
#define WELCOME_MSG "RepRap Ready."
|
||||||
|
#define MSG_SD_INSERTED "Card Ready"
|
||||||
|
#define MSG_SD_REMOVED "Card Initiate"
|
||||||
|
#define MSG_MAIN " Main \003"
|
||||||
|
#define MSG_AUTOSTART " Autostart"
|
||||||
|
#define MSG_DISABLE_STEPPERS " Disable Steppers"
|
||||||
|
#define MSG_AUTO_HOME " Auto Home"
|
||||||
|
#define MSG_SET_ORIGIN " Set Origin"
|
||||||
|
#define MSG_PREHEAT " Preheat"
|
||||||
|
#define MSG_COOLDOWN " Cooldown"
|
||||||
|
#define MSG_EXTRUDE " Extrude"
|
||||||
|
#define MSG_SPEED " Speed:"
|
||||||
|
#define MSG_NOZZLE " \002Nozzle:"
|
||||||
|
#define MSG_BED " \002Bed:"
|
||||||
|
#define MSG_FAN_SPEED " Fan speed:"
|
||||||
|
#define MSG_FLOW " Flow:"
|
||||||
|
#define MSG_CONTROL " Control \003"
|
||||||
|
#define MSG_MIN " \002 Min:"
|
||||||
|
#define MSG_MAX " \002 Max:"
|
||||||
|
#define MSG_FACTOR " \002 Fact:"
|
||||||
|
#define MSG_AUTOTEMP " Autotemp:"
|
||||||
|
#define MSG_ON "On "
|
||||||
|
#define MSG_OFF "Off"
|
||||||
|
#define MSG_PID_P " PID-P: "
|
||||||
|
#define MSG_PID_I " PID-I: "
|
||||||
|
#define MSG_PID_D " PID-D: "
|
||||||
|
#define MSG_PID_C " PID-C: "
|
||||||
|
#define MSG_ACC " Acc:"
|
||||||
|
#define MSG_VXY_JERK " Vxy-jerk: "
|
||||||
|
#define MSG_VMAX " Vmax "
|
||||||
|
#define MSG_X "x:"
|
||||||
|
#define MSG_Y "y:"
|
||||||
|
#define MSG_Z "z:"
|
||||||
|
#define MSG_E "e:"
|
||||||
|
#define MSG_VMIN " Vmin:"
|
||||||
|
#define MSG_VTRAV_MIN " VTrav min:"
|
||||||
|
#define MSG_AMAX " Amax "
|
||||||
|
#define MSG_A_RETRACT " A-retract:"
|
||||||
|
#define MSG_ESTEPS " Esteps/mm:"
|
||||||
|
#define MSG_MAIN_WIDE " Main \003"
|
||||||
|
#define MSG_TEMPERATURE_WIDE " Temperature \x7E"
|
||||||
|
#define MSG_MOTION_WIDE " Motion \x7E"
|
||||||
|
#define MSG_STORE_EPROM " Store EPROM"
|
||||||
|
#define MSG_LOAD_EPROM " Load EPROM"
|
||||||
|
#define MSG_RESTORE_FAILSAFE " Restore Failsafe"
|
||||||
|
#define MSG_REFRESH "\004Refresh"
|
||||||
|
#define MSG_WATCH " Watch \003"
|
||||||
|
#define MSG_PREPARE " Prepare \x7E"
|
||||||
|
#define MSG_CONTROL_ARROW " Control \x7E"
|
||||||
|
#define MSG_TUNE " Tune \x7E"
|
||||||
|
#define MSG_STOP_PRINT " Stop Print \x7E"
|
||||||
|
#define MSG_CARD_MENU " Card Menu \x7E"
|
||||||
|
#define MSG_NO_CARD " No Card"
|
||||||
|
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure."
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LANGUAGE_CHOICE == 5
|
||||||
|
|
||||||
|
// LCD Menu Messages
|
||||||
|
|
||||||
|
#define WELCOME_MSG "RepRap Ready."
|
||||||
|
#define MSG_SD_INSERTED "Card Ready"
|
||||||
|
#define MSG_SD_REMOVED "Card Initiate"
|
||||||
|
#define MSG_MAIN " Main \003"
|
||||||
|
#define MSG_AUTOSTART " Autostart"
|
||||||
|
#define MSG_DISABLE_STEPPERS " Disable Steppers"
|
||||||
|
#define MSG_AUTO_HOME " Auto Home"
|
||||||
|
#define MSG_SET_ORIGIN " Set Origin"
|
||||||
|
#define MSG_PREHEAT " Preheat"
|
||||||
|
#define MSG_COOLDOWN " Cooldown"
|
||||||
|
#define MSG_EXTRUDE " Extrude"
|
||||||
|
#define MSG_SPEED " Speed:"
|
||||||
|
#define MSG_NOZZLE " \002Nozzle:"
|
||||||
|
#define MSG_BED " \002Bed:"
|
||||||
|
#define MSG_FAN_SPEED " Fan speed:"
|
||||||
|
#define MSG_FLOW " Flow:"
|
||||||
|
#define MSG_CONTROL " Control \003"
|
||||||
|
#define MSG_MIN " \002 Min:"
|
||||||
|
#define MSG_MAX " \002 Max:"
|
||||||
|
#define MSG_FACTOR " \002 Fact:"
|
||||||
|
#define MSG_AUTOTEMP " Autotemp:"
|
||||||
|
#define MSG_ON "On "
|
||||||
|
#define MSG_OFF "Off"
|
||||||
|
#define MSG_PID_P " PID-P: "
|
||||||
|
#define MSG_PID_I " PID-I: "
|
||||||
|
#define MSG_PID_D " PID-D: "
|
||||||
|
#define MSG_PID_C " PID-C: "
|
||||||
|
#define MSG_ACC " Acc:"
|
||||||
|
#define MSG_VXY_JERK " Vxy-jerk: "
|
||||||
|
#define MSG_VMAX " Vmax "
|
||||||
|
#define MSG_X "x:"
|
||||||
|
#define MSG_Y "y:"
|
||||||
|
#define MSG_Z "z:"
|
||||||
|
#define MSG_E "e:"
|
||||||
|
#define MSG_VMIN " Vmin:"
|
||||||
|
#define MSG_VTRAV_MIN " VTrav min:"
|
||||||
|
#define MSG_AMAX " Amax "
|
||||||
|
#define MSG_A_RETRACT " A-retract:"
|
||||||
|
#define MSG_ESTEPS " Esteps/mm:"
|
||||||
|
#define MSG_MAIN_WIDE " Main \003"
|
||||||
|
#define MSG_TEMPERATURE_WIDE " Temperature \x7E"
|
||||||
|
#define MSG_MOTION_WIDE " Motion \x7E"
|
||||||
|
#define MSG_STORE_EPROM " Store EPROM"
|
||||||
|
#define MSG_LOAD_EPROM " Load EPROM"
|
||||||
|
#define MSG_RESTORE_FAILSAFE " Restore Failsafe"
|
||||||
|
#define MSG_REFRESH "\004Refresh"
|
||||||
|
#define MSG_WATCH " Watch \003"
|
||||||
|
#define MSG_PREPARE " Prepare \x7E"
|
||||||
|
#define MSG_CONTROL_ARROW " Control \x7E"
|
||||||
|
#define MSG_TUNE " Tune \x7E"
|
||||||
|
#define MSG_STOP_PRINT " Stop Print \x7E"
|
||||||
|
#define MSG_CARD_MENU " Card Menu \x7E"
|
||||||
|
#define MSG_NO_CARD " No Card"
|
||||||
|
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure."
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // ifndef LANGUAGE_H
|
Loading…
Reference in New Issue