Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

How to make the text blink on LCD

Status
Not open for further replies.
Assuming it might be a HD44780 display, could the control codes 08 & 0C be used from the table in the link below?
HD44780 Commands
 
Mickster!! I'm glad you suggested that. I was going to post display ON /OFF but after my last few posts I kinda wait a bit..

Ian

My question was posed due to ignorance on my part.
However, I have just found another suggestion here - 2nd post by 'ossi':
**broken link removed**
"Perhaps it would be possible to toggle the LCD-contrast-voltage-input."
 
Which type of LCD are you using and can you post your code for review?
 
I make text blink by using the above method
Heres how i would do it

(LOOP) write text (i.e "Hello", delay, write blanks i.e " ", delay (LOOP)
 
Is there any merit to the method of simply toggling the contrast supply?

Anyone else tried it?
 
toggling the contrast wouldnt work very well, this will clear the entire screen, it is not a good idea when wanting to make certain text flash.
 
toggling the contrast wouldnt work very well, this will clear the entire screen, it is not a good idea when wanting to make certain text flash.

Gotcha....wouldn't work for let's say one line static and the other flashing, but if someone wanted the whole screen to flash....a simple solution?
 
I am using Assembly language

Its a LUMEX LCD

LCM-S01602DSF/A

Still not figured out the blinking text
 
Last edited:
I have configured a port such that as soon as the port bit is set I display a number on the LCD

I have displayed the number correctly

I need to make that number blinking

Part of the relevant code is as follows:

movlw 0x8A
movwf PORTD
call SND_CMD //SND_CMD is writing command to LCD

movf count304,0
movwf PORTD
call SND_DTA //SND_DTA is writing data to LCD

It works fine

Just that somehow I need to make that counter value blink

I tried using the control codes 0x08 and 0x0C but to no effect

If anyone has an idea please let me know

Thanks
 
i have posted the relevant code

i did not save the code i tried using control codes since it didn't work
 
i tried to turn on visible blinking block cursor by the control code 0x0F

but it doesn't work too.

I see no cursor at all

movlw 0x8A
movwf PORTD
call SND_CMD //SND_CMD is writing command to LCD

movlw 0x0F
movwf PORTD
call SND_DTA //SND_DTA is writing data to LCD
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top