FT857d icon indicating copy to clipboard operation
FT857d copied to clipboard

Example will not compile for esp8266 NodeMCU using Arduino IDE v1.8.13

Open jponko opened this issue 4 years ago • 1 comments

I had to modify lib ft857.h (line 107) prototype to: void begin(long baudrate, SerialConfig mode); // custom baudrate and mode and in ft857.cpp (line 55) // Alternative initializer with a custom baudrate and mode void ft857d::begin(long br, SerialConfig mode) {

Otherwise, compiler complains about int type not being type SerialConfig. This is only for the ESP8266. Not actually tested with a rig but at least now it will compile. I'm certain this has something to do with the esp8266 core because the original lib/example compiles for esp32 and UNO.

jponko avatar Nov 13 '20 04:11 jponko

Thank to spot that issue, I will be evaluating if create a conditional statement for the compiler or just change the variable at once.

stdevPavelmc avatar Nov 18 '20 17:11 stdevPavelmc