sds-dust-sensors-arduino-library icon indicating copy to clipboard operation
sds-dust-sensors-arduino-library copied to clipboard

SoftwareSerial library api change

Open coelner opened this issue 6 years ago • 1 comments
trafficstars

Hey,

with the current version 5.2.2 for the esp8266 platform we have an api change in the library: https://github.com/plerup/espsoftwareserial/commit/2bbedb761670fed38ee3b3057843da2face7695c#diff-8d137b6230feb3539a63ba9284979346

  1. move the Rx, Tx Pin to the begin()
  2. maybe optimize the buffer size

coelner avatar Jun 27 '19 10:06 coelner

Hi, thanks for reporting that! Currently, I don't have time to check if the library will be compatible with the newer esp8266 platform having initialization refactored.

The best option (I don't know if possible) would be to add esp8266 platform version somewhere to dependencies or at least make note in the docs (readme).

I need to check if Arduino SoftwareSerial init is also updated in the similar way as esp8266

When I will find some time I will update and test the library

lewapek avatar Jul 08 '19 10:07 lewapek