DanNixon / NeoNextion

Arduino library for the Nextion displays
https://dannixon.github.io/NeoNextion
GNU General Public License v2.0
48 stars 34 forks source link

NextionPage page.show() not working #21

Closed mijnsleutel closed 7 years ago

mijnsleutel commented 7 years ago

Hi,

In version 2.2.0 the show page command is not functioning correctly anymore. If i switch back to 2.1.0 everything is working fine.

Thank you !

DanNixon commented 7 years ago

Thanks for the report, I can see why this is happening but won't be able to push a fix until some time either this weekend or next week.

It's a result of the page validation code that only sends commands when on the correct page for a widget, which is never the case when calling NextionPage::show().

mijnsleutel commented 7 years ago

Great ! no problem, we can develop with all features from 2.1.0. Thank you

-Mike

top4ek commented 7 years ago

Got same problem too on 2.0.0.

DanNixon commented 7 years ago

@top4ek The code in question is not in version 2.0.0

top4ek commented 7 years ago

2.2.0 doesn't works too, but anyway, it seems to be problem is related to SoftwareSerial, it doesn't works even with raw command.

top4ek commented 7 years ago

Yep, my fault. Display and ESP MUST be connected to common GND(didn't knew that). 2.0.0 works fine, 2.2 — doesn't.

DanNixon commented 7 years ago

See b3ab4cd.