Hi All,
Has anyone tried the ‘menu-system_02_10_24’ example from the Wiki?
I thought I would study it to learn how to use to GLCD display manager. However, there is an error in the initialise macro within the calculation box titled ‘Set up all the colours’. As shown in the image below (i.e. it does not contain colour information):
I have tried defining a Byte array titled Colours myself based on the following:
But I am missing something. When simulated there are multiple errors at icons that require the colours to be defined. The first example is shown below:
When I attempt to define the Colours to use, I get error message ‘Parameter 7 is invalid Cannot convert to Type Byte[9]’.
I have no doubt the error is because I have not set up the Byte Array correctly, but having tried several unsuccessful ideas I am now stuck. If anyone has got this example to work, can they please give me some pointers?
Many thanks
Martin
Problem with the 'menu-system_02_10_24’ example from the Wiki
-
Arix
- Posts: 20
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 9:53 pm
- Has thanked: 5 times
- Been thanked: 10 times
-
medelec35
- Valued Contributor
- Posts: 2279
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 709 times
- Been thanked: 773 times
Re: Problem with the 'menu-system_02_10_24’ example from the Wiki
hello.
What can happen is demos work as intended when created.
Then in the future the function macro could be modified which breaks the original demo.
I will see if I can spot what's going on.
Edit:
After investigating, it looks like the demo was originally created and still runs with FC10.
In FC11 the display manager has been greatly improved which means some projects created in FC10 using display manager will no longer work in FC11 without modifying.
This is the CreateWidget for Flowcode10 When you compare with FC11 you will see all the changes.
What can happen is demos work as intended when created.
Then in the future the function macro could be modified which breaks the original demo.
I will see if I can spot what's going on.
Edit:
After investigating, it looks like the demo was originally created and still runs with FC10.
In FC11 the display manager has been greatly improved which means some projects created in FC10 using display manager will no longer work in FC11 without modifying.
This is the CreateWidget for Flowcode10 When you compare with FC11 you will see all the changes.
Martin
-
BenR
- Matrix Staff
- Posts: 2192
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 599 times
- Been thanked: 794 times
Re: Problem with the 'menu-system_02_10_24’ example from the Wiki
Hello
I'll see if I can make a v11 version of the example for you.
For now this forum post has a couple of videos which should help show how to use the v11 system.
viewtopic.php?t=3656
I'll see if I can make a v11 version of the example for you.
For now this forum post has a couple of videos which should help show how to use the v11 system.
viewtopic.php?t=3656
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