char comand;
const int ledPin = 22;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  pinMode(ledPin, OUTPUT);

  Serial.println("Semaforo Teste!");
}

void loop() {
  // put your main code here, to run repeatedly:

  if(button == 0) {
  digitalWrite(pedvermelho,HIGH);
  digitalWrite(pedverde,LOW);
  digitalWrite(ledvermelho, HIGH);
  delay(9000);
  digitalWrite(ledvermelho, LOW);
  delay(100);
  digitalWrite(ledamarelo, HIGH);
  delay(3500);
  digitalWrite(ledamarelo, LOW);
  delay(100);
  digitalWrite(ledverde, HIGH);
  delay(10000);
  digitalWrite(ledverde, LOW);
  delay(100);
  }else if (button == 1){
  digitalWrite(ledvermelho, LOW);
  digitalWrite(ledamarelo, LOW);
  digitalWrite(ledverde, LOW);
  digitalWrite(pedverde,HIGH);
  delay(1000);
  digitalWrite(pedverde,LOW);
  delay(100);
  digitalWrite(pedvermelho,HIGH);
   
  }
  
  
  
  
}
$abcdeabcde151015202530354045505560fghijfghij