Vermischtes
public text v1 · immutable int mails = newmails + oldmails;
if ((led_status == 0) && (mails > 0 || newmails > 0))
{
// set LED on
if(lednot == 'Y')
LEDEvent(true, mails, ledmajor, ledminor);
}
if ((newmails >0) && (telnot == 'Y')
{
// Phone-Event (call phone)
TelEvent(fon, sip, num);
}
if ((mails == 0 && newmails == 0))