Hello All,
I've put together a bit of a demonstration of the new graphical display features available in v11 here.
https://youtu.be/8pBGSSQuoaI
Please feel free to comment and ask any questions below.
Flowcode 11 Graphical Display Manager Demonstration
-
BenR
- Matrix Staff
- Posts: 2159
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 587 times
- Been thanked: 771 times
Flowcode 11 Graphical Display Manager Demonstration
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
-
jgu1
- Posts: 914
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 807 times
- Been thanked: 202 times
Re: Flowcode 11 Serial In Circuit Debug (ICD)
Hi Ben!
Thanks again for your example and the thorough walkthrough — it’s really useful. I’ve studied it over and over to learn from it,
and I can see all the advantages of the Display Manager: it makes it fast to create different buttons, text fields, adjust layout, and use various colors.
I’ve asked about this before but didn’t quite create this, so I hope you can help — maybe with an example.
I now understand the different functions you demonstrated. What I can’t figure out is this:
If I want to create a “main menu” with, for example, three buttons — let’s say Volt, Amp, and Watt — I want to be able to press (for example) the Volt button and switch to a “Volt scene.” There, it should continuously display the current voltage value until I press a “Home” button.
After that, I should be able to press the Amp button, and the screen should switch to an “Ammeter scene,” and continuously display the current values until I press a “Home” button there as well.
I can make this work, but the values are only shown once — they are not updated continuously unless I exit and re-enter the scene.
I hope you understand what I mean.
Br Jorgeb
Thanks again for your example and the thorough walkthrough — it’s really useful. I’ve studied it over and over to learn from it,
I’ve asked about this before but didn’t quite create this, so I hope you can help — maybe with an example.
I now understand the different functions you demonstrated. What I can’t figure out is this:
If I want to create a “main menu” with, for example, three buttons — let’s say Volt, Amp, and Watt — I want to be able to press (for example) the Volt button and switch to a “Volt scene.” There, it should continuously display the current voltage value until I press a “Home” button.
After that, I should be able to press the Amp button, and the screen should switch to an “Ammeter scene,” and continuously display the current values until I press a “Home” button there as well.
I can make this work, but the values are only shown once — they are not updated continuously unless I exit and re-enter the scene.
I hope you understand what I mean.
Br Jorgeb
-
BenR
- Matrix Staff
- Posts: 2159
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 587 times
- Been thanked: 771 times
Re: Flowcode 11 Graphical Display Manager Demonstration
Hello Jorgen,
The button handler macro changes scene as required and then in the main loop you need to check which scene is active and then process the code specific for that scene. e.g. on the voltage scene you would sample the voltage and display. On the current scene you would sample the current and display.
Do you want to post what you have so far and I'll have a quick look for you. You basically need to do the update as part of the main loop.
Or I can create another quick demo video showing how to do this if that would be useful.
The button handler macro changes scene as required and then in the main loop you need to check which scene is active and then process the code specific for that scene. e.g. on the voltage scene you would sample the voltage and display. On the current scene you would sample the current and display.
Do you want to post what you have so far and I'll have a quick look for you. You basically need to do the update as part of the main loop.
Or I can create another quick demo video showing how to do this if that 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
-
jgu1
- Posts: 914
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 807 times
- Been thanked: 202 times
Re: Flowcode 11 Graphical Display Manager Demonstration
Hi Ben!
If you please Will: Or I can create another quick demo video showing how to do this if that would be useful.
Absolute, please, I am grateful, so please
Jorgen
If you please Will: Or I can create another quick demo video showing how to do this if that would be useful.
Absolute, please, I am grateful, so please
Jorgen