int atraso = 500;
int contador;
void setup() {
// put your setup code here, to run once:
Serial1.begin(115200);
}
void loop() {
//Contador de numeros par até 20//
contador = 2;
while(contador <= 30) {
Serial1.println(contador);
delay(atraso);
contador = contador + 2;
}// this speeds up the simulation
}