Page 1 of 1

EBM001

Posted: Fri Dec 05, 2014 5:59 pm
by peterhalloway
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

Re: EBM001

Posted: Fri Dec 05, 2014 6:05 pm
by Benj
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.

Re: EBM001

Posted: Fri Dec 05, 2014 10:05 pm
by peterhalloway
Thank you Ben