void setup()
{
pinMode(PC13,INPUT_PULLUP);
pinMode(PC11,INPUT_PULLUP);
pinMode(PA5,OUTPUT);
pinMode(PA7,OUTPUT);
}
void loop()
{
int x=digitalRead(PC13);
int y=digitalRead(PC11);
if(x==0&&y==0)
{
digitalWrite(PA5,HIGH);
digitalWrite(PA7,LOW);
}
else
{
digitalWrite(PA5,LOW);
digitalWrite(PA7,HIGH);
}
}