I wonder if someone can offer help with the gLCD module. If I wanted the background colour of the display to be red then add white text on top. As a starting point would I need to plot each pixel and assign them red? Any help to get me underway would be great.
Also I cannot seem to set the orientation when using flowcode V5. Is this only available for the component macro in version 6?
Thanks
Pete
EBM001
-
- Posts: 30
- Joined: Sat Dec 29, 2012 4:49 pm
- Has thanked: 9 times
- Been thanked: 5 times
- Contact:
- 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: EBM001
Hi Pete,
Yes the orientation macros were added for the v6 functionality and so are not available in v5.
The glcds work in terms of background colour and foreground colour.
If you set the background colour to red and then clear the display then the display will be coloured red.
If you then set the foreground colour to white and call a draw routine such as draw line or print then the data will be drawn in white.
The initial colours can be set via the properties and then adjusted in the program using the set colour macros.
Yes the orientation macros were added for the v6 functionality and so are not available in v5.
The glcds work in terms of background colour and foreground colour.
If you set the background colour to red and then clear the display then the display will be coloured red.
If you then set the foreground colour to white and call a draw routine such as draw line or print then the data will be drawn in white.
The initial colours can be set via the properties and then adjusted in the program using the set colour macros.
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: 30
- Joined: Sat Dec 29, 2012 4:49 pm
- Has thanked: 9 times
- Been thanked: 5 times
- Contact: