ustify"> WriteCommand (0x01) ;//(00000001) очищення екрана
// ------- Висновок 1-го режиму ------------
if (i == 1) {(status == 1)
{(0x4f);// O (0x6E);// n (probel);// _
} else
{(0x4f);// O (0x66);// f (0x66);// f
} (0x7c);// | (probel);// _ (0x54);// T (0x69);// i (0x6D);// m (0x65);// e (0x3A);//: (probel);// _ (0x30 + (_time/60)/10);// desyatki chasov (0x30 + (_time/60)% 10);// edinitsy chasov (0x3A);/ /: (0x30 + (_time% 60)/10);// desytki minut (0x30 + (_time% 60)% 10);// edinitsy minut
// другий рядок (0x54);// T (0x65);// e (0x6D);// m (0x70);// p (0x65);// e (0x72) ;// r (0x61);// a (0x74);// t (0x75);// u (0x72);// r (0x65);// e (0x3A);//: (probel); // _ (0x30 + temperature/10);// desyatki temperatury (0x30 + temperature% 10);// edinitsy temperatury ((temperature
}
// ------- Висновок 2-го режиму ------------ (i == 2) {
WriteData (probel);// _ (probel);// _ (probel);// _ (probel);// _ (0x53);// S (0x65);// e (0x74);// t (probel);// _ (0x54);// T (0x69);// i (0x6D);// m (0x65);// e (0x3A);//: (probel);// _ (probel);// _ (probel);// _
// другий рядок (probel);// _ (probel);// _ (probel);// _ (probel);// _ (probel);// _ (probel) ;// _ ((mig == 1) && (subregim == 1)) {(probel);// _ (probel);// _
} else
{(0x30 + (_settime/60)/10);// desyatki chasov (0x30 + (_settime/60)% 10);// edinitsy chasov
} (0x3A);//: ((mig == 1) && (subregim == 2)) {(probel);// _ (probel);// _
} else
{(0x30 + (_settime% 60)/10);// desytki minut (0x30 + (_settime% 60)% 10);// edinitsy minut
} (probel);// _ (probel);// _ (probel);// _ (probel);// _ (probel);// _
}
// ---------------------------------------- -------------------
// ----- Висновок 3-го режиму ------------------- (i == 3) {(probel); // _ (probel);// _ (probel);// _ (probel);// _ (0x43);// C (0x72);// r (0x69);// i (0x74);//t (0x69);// i (0x63);// c (0x61);// a (0x6c);// l (probel);// _ (probel);// _ (probel);// _ (probel);// _
// другий рядок (probel);// _ (0x54);// T (0x65);// e (0x6D);// m (0x70);// p (0x65) ;// e (0x72);// r (0x61);// a (0x74);// t (0x75);// u (0x72);// r (0x65);// e (0x3A); //: (probel);// _ ((mig == 1) && (subregim == 1)) {(probel);// _ (probel);// _
} else
{(0x30 + settemperature/10);// desyatki temperatury (0x30 + settemperature% 10);// edinitsy temperatury
}
}
// ------ Висновок 4-го режиму ------- (i...