nextion icon indicating copy to clipboard operation
nextion copied to clipboard

in Esp8266 wemos d1 r2

Open tuneyli opened this issue 8 years ago • 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

tuneyli avatar Oct 08 '16 10:10 tuneyli

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

GrexAut avatar Dec 22 '16 21:12 GrexAut