I am trying to use a Nextion 2.8 with my Particle Photon. I was able to get the CompButton example to work just fine with the Web Build. But I try to build in the Particle Build, I get errors that dbSerialPrintln and dbSerialPrint, nexLoop, and nexInit are not defined.
It appears that the Web Build library is version 0.0.11 and the gitHub version is version 0.8.0. Which is current? If 0.0.11, where can I get it?
Version.txt refers to the ITEAD version the ports was based on and since I have changed quite a bit of the interna (and more to come) I chose to have my own versions for Particle Build.
spark.json is the place to find the âParticleâ version.
Yeah, the code is kind of funky. Not awful, but not good. Anyway, it looks like it works for what I want, which is pretty simple. Iâm going try real hard not to get sucked into fixing the library.
â Doug
Could you post your code?
I wouldnât see why non-blocking delays (what I understand when you say âmillis() based timersâ) should interfere with nexloop().
Great points. I will implement them right now. I was actually following the example in comptext but what youâre suggesting makes more sense. That way the only listeners i will need are the actual set button on every page.
Thatâs basically going to be always be true, so the display updates every time through loop. I think you probably want this to update once per second:
Hi, Thanks for the answer! I got similar answer elsewhere. So do you think a bank page should be shown for a moment and than jump back to the main page or there should be two identical pages switching back and forth between them as I press the clear button?
That depends on your desired user experience and other components on the page.
A third option would be a âmock-up pageâ that only shows an image of the actual page.