main.c aktualisiert
This commit is contained in:
parent
331f6e067a
commit
6dbe624e41
25
main.c
25
main.c
@ -295,50 +295,41 @@ int main(void)
|
||||
uart2_putString("Switch0\r\n ");
|
||||
wait_sys_ms(20);
|
||||
}
|
||||
else if(Switch1 == 1)
|
||||
if(Switch1 == 1)
|
||||
{
|
||||
uart2_putString("Switch1\r\n ");
|
||||
wait_sys_ms(20);
|
||||
}
|
||||
else if(Switch2 == 1)
|
||||
if(Switch2 == 1)
|
||||
{
|
||||
uart2_putString("Switch2\r\n ");
|
||||
wait_sys_ms(20);
|
||||
}
|
||||
else if(Switch3 == 1)
|
||||
if(Switch3 == 1)
|
||||
{
|
||||
uart2_putString("Switch3\r\n ");
|
||||
wait_sys_ms(20);
|
||||
}
|
||||
else if(Switch4 == 1)
|
||||
if(Switch4 == 1)
|
||||
{
|
||||
uart2_putString("Switch4\r\n ");
|
||||
wait_sys_ms(20);
|
||||
}
|
||||
else if(Switch5 == 1)
|
||||
if(Switch5 == 1)
|
||||
{
|
||||
uart2_putString("Switch5\r\n ");
|
||||
wait_sys_ms(20);
|
||||
}
|
||||
else if(Switch6 == 1)
|
||||
if(Switch6 == 1)
|
||||
{
|
||||
uart2_putString("Switch6\r\n ");
|
||||
wait_sys_ms(20);
|
||||
}
|
||||
else if(Switch7 == 1)
|
||||
if(Switch7 == 1)
|
||||
{
|
||||
uart2_putString("Switch7\r\n ");
|
||||
wait_sys_ms(20);
|
||||
}
|
||||
else
|
||||
{
|
||||
fuellstand(0);
|
||||
fehler(0);
|
||||
leerBlasen(0);
|
||||
fein(0);
|
||||
grob(0);
|
||||
pumpe(0);
|
||||
wait_sys_ms(20);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user