Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

clearing just a line of characters

 hello everybody

 have a happy new year full of health, love, peace ,and money

just a simple question : how can i do to clear a line of characteres or only a word on a line ?

all advices are wellcome

thanks on advance

jyb

 

RE:clearing just a line of characters

 blank spaces seems to do the trick drawStr(2,0, "                      ");

RE:clearing just a line of characters

 blank spaces seems to do the trick

 

[quote]drawStr(2,0, "                      ");[/quote]

RE:clearing just a line of characters

 blank spaces seems to do the trick

 drawStr(2,0, "                      ");

 

EDIT: sorry about double post!

RE:clearing just a line of characters

 Another possibility is a way I do some of my clearing, which is setting up a window area and then clearing to background color. It avoids using the font rendering engine and allows the PIC to do fast pixel clears right on the display bus.

Here is one of my static data COMMAND SETs that I upload to the display flash, and call it when I want to do certain types of clears:

 

'B','G','C',0x82,

// set the drawing window to fill between the glyphs

'D','W','W','I','N',0x08,0x34,0x90,0x19,

// clear that area

'W','I','N','C','L',

 

Copyright Digole Digital Solutions, 2008-2017. All rights reserved.
Powered by Victor Sun