diff --git a/platformio.ini b/platformio.ini index 35e67d2..dffc561 100644 --- a/platformio.ini +++ b/platformio.ini @@ -14,6 +14,8 @@ board = esp32doit-devkit-v1 framework = arduino ;upload_port = /dev/ttyUSB0 +monitor_speed = 115200 + debug_tool = esp-prog upload_protocol = esp-prog debug_init_break = tbreak setup \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index d3441ca..047ddb3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,12 +4,15 @@ void setup() { // put your setup code here, to run once: pinMode(LED_BUILTIN, OUTPUT); + Serial.begin(115200); + Serial.println("Hi from the setup function."); } int a = 1000; int b = 100; void loop() { + Serial.println(" - Loop"); // put your main code here, to run repeatedly: digitalWrite(LED_BUILTIN, HIGH); delay(a);