Nextion display
-
bdjbuster
- Posts: 15
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 15, 2020 6:16 pm
- Been thanked: 1 time
Nextion display
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.
- Attachments
-
- laadprogramma flowcode 10.fcfx
- (16.57 KiB) Downloaded 12 times
-
BenR
- Matrix Staff
- Posts: 2038
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 540 times
- Been thanked: 725 times
Re: Nextion display
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel