// reset operation state | INPUT : eRotaryEncoderMode newMode, int newPosition, int newMaxPosition, int newMinPosition, int newSingleStep, int newMultiStep
//pulse constantly at HEATING_ELEMENT_MAX_WATTAGE watt
wattage=HEATING_ELEMENT_MAX_WATTAGE;
}
}
default:{
}
}
}
}
//}
eSettingsMenuSelection=eSettingsMenu_NULL;
}
voidrunMaltSelection(){
switch(eMaltMenuSelection){
caseeMaltMenu_CastleMalting_Chteau_Pilsen_2RS:{
// Stuff
backToStatus();
break;
}
}
caseeMaltMenu_CastleMalting_Wheat_Blanc:{
// Stuff
backToStatus();
// Update the recorded time for the begining of the window, if the previous window has passed
while((millis()-windowStartTime)>iWindowSize){// Check if it's time to vary the pulse width modulation and if so do it by shifting the "Relay in ON" Window
break;
windowStartTime+=iWindowSize;
}
}
caseeMaltMenu_Back:{
eMenuType=eMenuType_Main;
repaint=true;
// reset operation state | INPUT : eRotaryEncoderMode newMode, int newPosition, int newMaxPosition, int newMinPosition, int newSingleStep, int newMultiStep
// reset operation state | INPUT : eRotaryEncoderMode newMode, int newPosition, int newMaxPosition, int newMinPosition, int newSingleStep, int newMultiStep
// reset operation state | INPUT : eRotaryEncoderMode newMode, int newPosition, int newMaxPosition, int newMinPosition, int newSingleStep, int newMultiStep
xWarnCookEnded();// Warn the user that the cooking is done
break;
}
}
// Update the recorded time for the begining of the window, if the previous window has passed
while((millis()-windowStartTime)>iWindowSize){// Check if it's time to vary the pulse width modulation and if so do it by shifting the "Relay in ON" Window
// reset operation state | INPUT : eRotaryEncoderMode newMode, int newPosition, int newMaxPosition, int newMinPosition, int newSingleStep, int newMultiStep
// reset operation state | INPUT : eRotaryEncoderMode newMode, int newPosition, int newMaxPosition, int newMinPosition, int newSingleStep, int newMultiStep