Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in Esp8266 wemos d1 r2 #22

Open
tuneyli opened this issue Oct 8, 2016 · 1 comment
Open

in Esp8266 wemos d1 r2 #22

tuneyli opened this issue Oct 8, 2016 · 1 comment

Comments

@tuneyli
Copy link

tuneyli commented Oct 8, 2016

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

@GrexAut
Copy link

GrexAut commented Dec 22, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants