bborncr/nextion

in Esp8266 wemos d1 r2

tuneyli opened this issue · 1 comments

we can not use this library in Esp8266 wemos d1 r2. How can we reconfig this library for wemos.
no matching function for call to 'Nextion::Nextion(HardwareSerial&, int) in arduino is giving bad function.

http://esp8266.github.io/Arduino/versions/2.0.0/doc/reference.html#serial

thanks

Hi, got it working with wemos d1 r2.
First you need this SoftwareSerial Library: https://github.com/plerup/espsoftwareserial (I used latest release).

Then you have to set Software Serial with:
SoftwareSerial nextion(4, 5);
4 => D1
5 => D2

And the connect:
D1 => RX
D2=>TX

Best regards