nextion display flowcode 10

Use this section to discuss your embedded Flowcode projects.
Post Reply
bdjbuster
Posts: 17
http://meble-kuchenne.info.pl
Joined: Tue Dec 15, 2020 6:16 pm
Been thanked: 1 time

nextion display flowcode 10

Post by bdjbuster »

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 16 times
flow8 16x storing.fcfx
(18.66 KiB) Downloaded 16 times

BenR
Matrix Staff
Posts: 2178
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 594 times
Been thanked: 781 times

Re: nextion display flowcode 10

Post by BenR »

Hello,

There's a demo here that should be useful for you.
https://www.flowcode.co.uk/wiki/index.p ... cal_Color)

bdjbuster
Posts: 17
Joined: Tue Dec 15, 2020 6:16 pm
Been thanked: 1 time

Re: nextion display flowcode 10

Post by bdjbuster »

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: 2178
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 594 times
Been thanked: 781 times

Re: nextion display flowcode 10

Post by BenR »

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.

Post Reply