int p1=10;
int p2=7;
void setup() {
  // put your setup code here, to run once:
  pinMode(p1, OUTPUT);
  pinMode(p2, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(p1, HIGH);
  digitalWrite(p2, HIGH);
  delay(500);
  digitalWrite(p1, LOW);
  digitalWrite(p2, LOW);
  delay(500);
}