#include <stdio.h>
#include <wiringPi.h>
int main( void)
{
int LED1 = 1;
int LED4 = 4;
wiringPiSetup();
pinMode(LED1 ,OUTPUT);
pinMode(LED4,OUTPUT);
printf("LED1/LED4 is blinking...\n");
for(;;)
{
digitalWrite(LED1 ,HIGH);
digitalWrite(LED4 ,LOW);
delay(1000);
digitalWrite(LED4 ,HIGH);
digitalWrite(LED1 ,LOW);
delay(1000);
}
}