Can you BLINK a character or word on LCD?

Your source for all things Atmel.

Moderator: phalanx

Post Reply
sdisselhorst
Posts: 31
Joined: Sat Feb 06, 2010 10:04 pm

Can you BLINK a character or word on LCD?

Post by sdisselhorst » Thu Jun 03, 2010 1:20 pm

I want to indicate which parameter is selected on the LCD by making a character blink. I know I can blink the cursor, but that doesn't really help me. Is it possible to make just one character blink?

Liencouer
Posts: 155
Joined: Fri Mar 28, 2008 7:36 am

Re: Can you BLINK a character or word on LCD?

Post by Liencouer » Fri Jun 04, 2010 5:08 am

alternate printing the character as the character you want, and then as a space character?

sdisselhorst
Posts: 31
Joined: Sat Feb 06, 2010 10:04 pm

Re: Can you BLINK a character or word on LCD?

Post by sdisselhorst » Fri Jun 04, 2010 7:47 am

OK, I just made it work. Thanks for help. I ended up trying the following:

I printed the number.
Then, I used the setCursor command to move the cursor back to the same spot.
Then I used lcd.Blink(); to make it blink.
Then I had a delay(20);
Then I read the value of the POT position.
Then I looked to see if they pushed the button to confirm the selection.
Then I went back to the top if they had not confirmed the selection yet.

It works great!

Post Reply