not sure why I added
showclock();
in the min edit code
should have been
lcd.print (F("set minute"));
That may be causing confusion as the first line would be what the rtc is set to and its not updated until you leave the menu.
not sure what the problem is with high and low temp set points as the code looks ok
void alarmcheck () {
alarm_active = 0;
if (adj_temp >= highTempSetPoint ) {
alarm_active = 1;
if (tempalarm == 1) {
soundalarm = 1;
} else {
soundalarm = 0;
}
}
if (adj_temp <= lowTempAlarmPoint) {
alarm_active = 2;
if (tempalarm == 1) {
soundalarm = 1;
} else {
soundalarm = 0;
}
}
Your code looks like you are checking set points rather than adj_temp ( temp reading + or - calibration )
If the tempalarm is set to on then it should set of the alarm.