2 votes
Accepted

How to attempt connection to WiFi only once?

Instead of using blynk.begin() use WiFi.begin() and blynk.config() to achieve non-blocking code void setup(){ // Blynk.begin(auth, ssid, pass); don't use this WiFi.begin(ssid, pass); while ( WiFi....
Coder9390's user avatar
  • 472
1 vote
Accepted

(Why is) getLocalTime() on ESP32 taking several seconds to complete successfully

Based on the wording in the question, it appears you are requesting an NTP re-synchronizing event often. Perhaps as often as possible. Consider that most Arduino projects request an NTP re-...
st2000's user avatar
  • 7,343
1 vote

Passing variable into catch() exception

You might want to refresh your knowledge about the try-catch statement by reading the respective chapter in your C++ book. You need to declare an exception parameter in catch, which you can ignore: ...
the busybee's user avatar
  • 2,002
1 vote
Accepted

Error using `NtpClientLib.h`

The esp8266 Arduino 3 has breaking changes so library authors need to adjust their libraries to this changes. Check the repository of the library for the fixes. The NtpClient library was marked as ...
Juraj's user avatar
  • 18.1k

Only top scored, non community-wiki answers of a minimum length are eligible