Files
PlatformIO_ESP32_ServoWebSe…/BlinkiWithDebuggingWorking/src/main.cpp

18 lines
300 B
C++
Raw Normal View History

2020-09-21 17:57:22 -05:00
#include <Arduino.h>
void setup()
{
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
}
2020-09-22 15:24:19 -05:00
int a = 1000;
int b = 100;
2020-09-21 17:57:22 -05:00
void loop()
{
// put your main code here, to run repeatedly:
digitalWrite(LED_BUILTIN, HIGH);
2020-09-22 15:24:19 -05:00
delay(a);
2020-09-21 17:57:22 -05:00
digitalWrite(LED_BUILTIN, LOW);
2020-09-22 15:24:19 -05:00
delay(b);
2020-09-21 17:57:22 -05:00
}