So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By sabiha patan 123
#66304 I have added Serial.print("xxx"); in WiFi.cpp file at the beginning of begin(ssid, pswrd) function. But those changes are not getting reflected (Text is not printed when WiFi.begin() is called) in the sketch.

How can I make changes in WiFi.cpp file (My objective is to add serial.print command to WiFi.cpp file)?
User avatar
By QuickFix
#66308 Not sure if its wise to edit WiFi.cpp, you'd better use debug logging instead (whenever possible).

But to answer your question: presumably your Serial is not initialized yet (with Serial.begin()).