EBM001

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
peterhalloway
Posts: 30
Joined: Sat Dec 29, 2012 4:49 pm
Has thanked: 9 times
Been thanked: 5 times
Contact:

EBM001

Post 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

User avatar
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

Post 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.

peterhalloway
Posts: 30
Joined: Sat Dec 29, 2012 4:49 pm
Has thanked: 9 times
Been thanked: 5 times
Contact:

Re: EBM001

Post by peterhalloway »

Thank you Ben

Post Reply