Anyone got experience with >4 inch displays?

Here is a link on how the value events work from the display side.
http://support.iteadstudio.com/support/discussions/topics/1000066866

For page change events simply place the sendme command into the initialization for each page. Then as soon as a page is loaded the display will send the new page number down to the photon. The photon will capture the event, call your registered function, and then you can load the data for that page. This is much better than having to continually request the page number and wait for it to change.

Also, I have been trying to ensure I update with nextion’s changes.

3 Likes

@Bspranger, cool port :+1:

It's a pain that Nextion doesn't seem to accept any PRs on their repo (I once tried a minimal Particle "update", but it just got dumped).
So I hope it won't become too tedious for you to keep your port updated whenever they decide to change something.

But again, nice job!

2 Likes

@Bspranger, would it be OK if I pushed your current version of ITEADLIB onto Particle Build?

I’ve already forked it and adapted the file structure and include paths to fit the needs of Build and corrected some errors.

2 Likes

Go for it! I haven’t hadone any time to play with it lately. Everyone in the family is sick!

1 Like

5 posts were split to a new topic: ITEADLIB_Nextion published on Particle Build