/Designs/STOPWATCH02A/SW/main.c
97,11 → 97,12
section[2] = 0;
section[3] = 0;
printf(lcd_putc,"\f\nSTART ESC TEST");
printf(lcd_putc,"\f\nSTART TEST");
while(input(BUTTON1)) // ceka na zmacknuti startovaciho tlacitka
if(!input(BUTTON4))
{
printf(lcd_putc,"\f\n ESC");
while(input(BUTTON3))
{
lcd_gotoxy(1,1);
108,6 → 109,7
printf(lcd_putc,"%1u %1u %1u %1u %1u %1u %1u %1u",input(START1),input(STOP1),input(START2), input(STOP2),input(START3),input(STOP3),input(START4),input(STOP4));
delay_ms(100);
}
printf(lcd_putc,"\f\nSTART TEST");
}
printf(lcd_putc,"\f\n STOP"); //