nextion display flowcode 10
-
bdjbuster
- Posts: 19
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 15, 2020 6:16 pm
- Been thanked: 1 time
nextion display flowcode 10
Hello, I am using Flowcode 10 with a Nextion display, but I can’t get the program to work. It does work with Flowcode 8, but that version doesn’t support the Nextion display, so I created something myself using UART1. Can someone tell me what I am doing wrong in Flowcode 10? Both programs are available to download.
- Attachments
-
- flow10 16x storing.fcfx
- (15.72 KiB) Downloaded 87 times
-
- flow8 16x storing.fcfx
- (18.66 KiB) Downloaded 88 times
-
BenR
- Matrix Staff
- Posts: 2202
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 603 times
- Been thanked: 799 times
Re: nextion display flowcode 10
Hello,
There's a demo here that should be useful for you.
https://www.flowcode.co.uk/wiki/index.p ... cal_Color)
There's a demo here that should be useful for you.
https://www.flowcode.co.uk/wiki/index.p ... cal_Color)
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
Re: nextion display flowcode 10
Hello, I watched the demo, but it uses the display in a completely different way than I do. I use the display so that when you press a button, it sends a number to the Arduino, and then I handle that in the code. I’ve programmed both parts like that, but it doesn’t work. Could you take a look at my program?
-
BenR
- Matrix Staff
- Posts: 2202
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 603 times
- Been thanked: 799 times
Re: nextion display flowcode 10
Hi I looked at your program and it looks like you're not making use of the returned value.
I think the example in the wiki is useful and should be the same way you are trying to achieve.
I think the example in the wiki is useful and should be the same way you are trying to achieve.
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
Re: nextion display flowcode 10
Thank you for your response, but unfortunately it doesn’t solve the issue. I have programmed the Nextion display in such a way that it works correctly with Flowcode 8. I achieved this by making the display send a number as a string whenever I press a button on it.
So when the Nextion sends a message, how can I receive it in Flowcode 10? And if that’s not possible, I would have to reprogram all my displays, which I would prefer to avoid.
So when the Nextion sends a message, how can I receive it in Flowcode 10? And if that’s not possible, I would have to reprogram all my displays, which I would prefer to avoid.
Re: nextion display flowcode 10
I completely changed my program to match your example program. It is working now, but the display and Arduino only respond when I press the same button a second time.
I attached the program. Could you please check what is going wrong?
I attached the program. Could you please check what is going wrong?
- Attachments
-
- flow10 16x storing.fcfx
- (20.18 KiB) Downloaded 11 times
-
BenR
- Matrix Staff
- Posts: 2202
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 603 times
- Been thanked: 799 times
Re: nextion display flowcode 10
Hello,
Sorry to hear you've had to rework your code. I've hopefully spotted what's causing the issue and it should be resolved for you now via the library updates.
Sorry to hear you've had to rework your code. I've hopefully spotted what's causing the issue and it should be resolved for you now via the library updates.
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