void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32-S2!");
}
void loop() {
// put your main code here, to run repeatedly:
delay(10);
int l = 0;
int sum = 1;
Serial.println(l);
pinMode(19, OUTPUT);
// this speeds up the simulation
l = l + sum;
if(l>1222){
sum = -1;
}
}