void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(17, OUTPUT);
}
void loop() {
for(int x=0; x<150; x=x+1)
{
digitalWrite(17, HIGH);
delayMicroseconds(1500); //Edit this delay to adjust the position
digitalWrite(17, LOW);
delayMicroseconds(18550); //Don't touch this delay
}
}