Page 1 of 1
Nextion display
Posted: Tue Dec 16, 2025 12:29 pm
by bdjbuster
Hello, I have written a program using a Nextion display with an RXINT. However, when I use this, I get an error code. Does anyone know how I can solve this? I want to use the RXINT for controlling the display. I have done this in the past with older Flowcode versions using a Nextion display, but back then I used UART communications. In that case, it was possible to use an RXINT.
Re: Nextion display
Posted: Wed Dec 17, 2025 1:13 pm
by BenR
Hello,
The Nextion component now has the RX interrupt built into it so you don't have to activate it yourself and it's more reliable this way as it can correctly process the data coming in. The error you are getting is simply stating the same interrupt has been enabled twice and that there is a clash.
There's an example here.
https://www.flowcode.co.uk/wiki/index.p ... cal_Color)
We could add an additional property that would call a user macro when a touch event packet has been received if you don't want to rely on polling the display macros. Let me know if you think this would be useful.