hi, first time using an esp board here, specifically the esp 01
here it seems that Serial.println() works in void loop() but not in void setup()
#include <HttpClient.h>
#include <WiFi.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("connecting");
Serial.println("connected succesfully!");
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("test");
delay(1000);
}
as you can see it prints out "test" every 1 second. but the first lines didnt print out "connecting" and "connected successfully!", instead its just gibberish
ive tried that and still nothing, i read somewhere that esp 01 always sends gibberish in the serial monitor when its booted, i dont exactly remember why though
I moved your topic to an appropriate forum category @peiwastaken.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.