Hot answers tagged

4 votes
Accepted

Determining ArduinoJSON document size based on file size

There is unfortunately no way to predict the size of the JsonDocument from the file size alone. As a workaround, I suggest that you allocate a very large memory pool and shrink it after ...
user avatar
2 votes
Accepted

PWM on Wemos D1 Mini (esp8266 chip) does not work

At one point analogWrite as it was implemented in the esp8266-core had defaulted to a 10-bit range. This is no longer the case. It defaults to 8-bit range now. In any case analogWrite is implemented ...
user avatar
  • 3,913
2 votes

PubSub'a - KeepAlive function not as expected

This is the correct behavior. The “last will” message is sent by the broker when it detects that the client has gone away. When you reset the ESP8266, the original connection to the broker is ...
user avatar
  • 1,189
2 votes
Accepted

ESP8266 soft resets when using a GPIO Expander

In the end the answer to the problem is the update frequency of the pins that drive the e-paper display: The original waveshare library (as linked in the post) does the following to send data to the ...
user avatar
  • 183
1 vote

ESP8266 Wemos D1 min pro - how to change TCP_SND_BUF?

No, you can't. The macro you are trying to tweak is for reference only and does not control the size of the buffer. On the ESP8266 the IP stack (and much of the rest of the system) is precompiled as ....
user avatar
  • 102k

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