void main(void)
{
    char cislo = 1;
    while (1) {
        if (TLACITKO) {
            DISPLAY = 0b01111111;
            cislo = cislo < 6 ? cislo + 1 : 1;
        } else {
            DISPLAY = segment[cislo];
        }
    }
}
