Hello!
Any ideas why i cannot change the foreground and background within the program?
It only responds to the initial properties under the component properties. If i call a macro and try to change it nothing happens.
Best regards
GLCD_STM32F746NG1 on STM32F746 discovery
Moderator: Benj
-
- Posts: 50
- Joined: Fri Feb 28, 2014 7:25 am
- Has thanked: 34 times
- Been thanked: 5 times
- Contact:
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: GLCD_STM32F746NG1 on STM32F746 discovery
Can you attach your flowchart so we can check what you are doing? Calling the macro will not change what is already on the display, just newly items you display. Is that your expectation?
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Posts: 50
- Joined: Fri Feb 28, 2014 7:25 am
- Has thanked: 34 times
- Been thanked: 5 times
- Contact:
Re: GLCD_STM32F746NG1 on STM32F746 discovery
It's basically nothing, just wanted to change the color.
Is it possible to actually customize a component?
Thank you for your reply.
Is it possible to actually customize a component?
Thank you for your reply.
- Attachments
-
- Flowcode1.fcfx
- (7.99 KiB) Downloaded 152 times
-
- Posts: 143
- Joined: Mon Aug 20, 2018 11:04 am
- Has thanked: 42 times
- Been thanked: 41 times
- Contact:
Re: GLCD_STM32F746NG1 on STM32F746 discovery
Hello
In fact, you always need two steps to change the pixel color.
You must first set the color and then draw the new color on the display. And to draw the new color on the display, you have to draw it using lines and points.
In fact, you always need two steps to change the pixel color.
You must first set the color and then draw the new color on the display. And to draw the new color on the display, you have to draw it using lines and points.
- Attachments
-
- Flowcode1_m.fcfx
- (9.28 KiB) Downloaded 155 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: GLCD_STM32F746NG1 on STM32F746 discovery
Hello,
Yes the set colour functions effectively set the pen colours and will not change content already drawn on the display.
Yes the set colour functions effectively set the pen colours and will not change content already drawn on the display.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 50
- Joined: Fri Feb 28, 2014 7:25 am
- Has thanked: 34 times
- Been thanked: 5 times
- Contact:
Re: GLCD_STM32F746NG1 on STM32F746 discovery
Thank you all for your reply i think i got it.
I have to now understand how to edit the SHT31 that i need and save it s a new component. I am trying to follow instructions from here but it seems they are not clear or somehow i miss stuff.
I have to now understand how to edit the SHT31 that i need and save it s a new component. I am trying to follow instructions from here but it seems they are not clear or somehow i miss stuff.