Zustünde Switch und Power publishen
This commit is contained in:
12
io/io.c
12
io/io.c
@@ -21,16 +21,7 @@ int IO_Init()
|
||||
|
||||
// IO-Pins für Ausgänge konfigurieren
|
||||
SetupOutputPin(GPIO_LED_MOTRUN);
|
||||
|
||||
// Einschaltsequenz
|
||||
WriteOutputPin(GPIO_LED_MOTRUN, HIGH);
|
||||
delay(500);
|
||||
WriteOutputPin(GPIO_LED_MOTRUN, LOW);
|
||||
delay(500);
|
||||
WriteOutputPin(GPIO_LED_MOTRUN, HIGH);
|
||||
delay(500);
|
||||
WriteOutputPin(GPIO_LED_MOTRUN, LOW);
|
||||
delay(500);
|
||||
SetupOutputPin(GPIO_OUT_PWRON);
|
||||
|
||||
printf("IO initialized successfull!\n");
|
||||
|
||||
@@ -164,7 +155,6 @@ void WriteOutputPin(int iOutPin, int iValue)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void IO_DoCyclic()
|
||||
{
|
||||
ReadKey(&gpioKeyStop);
|
||||
|
||||
Reference in New Issue
Block a user