void setup() {  
  pinMode(28, OUTPUT); //1
  pinMode(27, OUTPUT); //2
  pinMode(26, OUTPUT); //3
  pinMode(22, OUTPUT); //4
  pinMode(21, OUTPUT); //5
  pinMode(20, OUTPUT); //6
  pinMode(19, OUTPUT); //7
  pinMode(18, OUTPUT); //8
  pinMode(17, OUTPUT); //9
  pinMode(16, OUTPUT); //10

  digitalWrite(28,HIGH);  //1
  digitalWrite(27,HIGH); //2
  digitalWrite(26,HIGH); //3  
  digitalWrite(22,HIGH); //4  
  digitalWrite(21,HIGH);  //5  
  digitalWrite(20,HIGH); //6 
  digitalWrite(19,HIGH); //7  
  digitalWrite(18,HIGH); //8
  digitalWrite(17,HIGH); //9
  digitalWrite(16,HIGH); //10
 
}

void loop() {
  digitalWrite(28,LOW);  //1
  delay(500);
  digitalWrite(27,LOW); //2
  delay(500);
  digitalWrite(26,LOW); //3
  delay(500);
  digitalWrite(22,LOW); //4
  delay(500);
  digitalWrite(21,LOW);  //5
  delay(500);
  digitalWrite(20,LOW); //6
  delay(500);
  digitalWrite(19,LOW); //7
  delay(500);
  digitalWrite(18,LOW); //8
  delay(500);
  digitalWrite(17,LOW); //9
  delay(500);
  digitalWrite(16,LOW); //10
  delay(500);

  digitalWrite(28,HIGH);  //1
  digitalWrite(27,HIGH); //2
  digitalWrite(26,HIGH); //3  
  digitalWrite(22,HIGH); //4  
  digitalWrite(21,HIGH);  //5  
  digitalWrite(20,HIGH); //6 
  digitalWrite(19,HIGH); //7  
  digitalWrite(18,HIGH); //8
  digitalWrite(17,HIGH); //9
  digitalWrite(16,HIGH); //10
}
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT