FT857d
FT857d copied to clipboard
Example will not compile for esp8266 NodeMCU using Arduino IDE v1.8.13
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.
Thank to spot that issue, I will be evaluating if create a conditional statement for the compiler or just change the variable at once.