Add autostart

Adds autostart option.
Only works on first power up, so if the settings wrong you can still easily change it 😄
Fixes #43
This commit is contained in:
Ben V. Brown
2017-08-06 22:21:57 +10:00
parent f1aa331168
commit 48040acbcc
7 changed files with 57 additions and 26 deletions

View File

@@ -5,7 +5,9 @@
* Author: Ben V. Brown
*/
#include "Strings.h"
const char* SettingsLongNames[12] =
#define LANG_EN
#ifdef LANG_EN
const char* SettingsLongNames[13] =
{
/*These are all the help text for all the settings.*/
/*All must start with 6 spaces so they come on screen nicely.*/
@@ -18,20 +20,29 @@ const char* SettingsLongNames[12] =
" Display Orientation <A. Automatic L. Left Handed R. Right Handed>",
" Enable front key boost 450C mode when soldering",
" Temperature when in boost mode",
" Changes the arrows to a power display when soldering" };
" Changes the arrows to a power display when soldering",
" Automatically starts the iron into soldering on power up." };
const char* SettingsShortNames[12]=
#endif
#ifdef LANG_ES
const char* SettingsLongNames[13] =
{
"PWRSC ",
"STMP ",
"SLTME ",
"SHTME ",
"MSENSE ",
"TMPUNT ",
"TMPRND ",
"TMPSPD ",
"DSPROT ",
"BOOST ",
"BTMP ",
"PWRDSP ",
};
/*These are all the help text for all the settings.*/
/*All must start with 6 spaces so they come on screen nicely.*/
" Fuente de energia. Ajusta el limite inferior de voltaje. <DC 10V> <S 3.3V por celda>",
" Temperatura en reposo. <C>", " Tiempo hasta activar reposo. <Minutos>",
" Tiempo hasta apagado. <Minutos>",
" Sensibilidad del movimiento. <0.Apagado 1.El menos sensible 9.El mas sensible>",
" Unidad de temperatura.", " Cantidad de redondeo de la temperatura.",
" Tasa de actualizaci<63>n de la temperatura.",
" Orientacion de la pantalla <A. Automatico L. Mano izquierda R. Mano derecha>",
" Activar el boton <Boost> en modo soldadura.",
" Temperatura en modo <Boost>.",
" Cambiar las flechas en pantalla por indicador de potencia en modo soldadura.",
" Automatically starts the iron into soldering on power up."};
#endif
const char* SettingsShortNames[13] = { "PWRSC ", "STMP ", "SLTME ", "SHTME ",
"MSENSE ", "TMPUNT ", "TMPRND ", "TMPSPD ", "DSPROT ", "BOOST ",
"BTMP ", "PWRDSP ", "ASTART " };