V VRL_15 New Member May 11, 2011 #1 Is there any way I can make the displayed text blink? I am using PIC16f887 Thanks
birdman0_o Active Member May 11, 2011 #2 The same way you would flash an LED. Write all the text, delay, write all blank, delay, repeat.
Mickster Well-Known Member Most Helpful Member May 11, 2011 #3 Assuming it might be a HD44780 display, could the control codes 08 & 0C be used from the table in the link below? HD44780 Commands
Assuming it might be a HD44780 display, could the control codes 08 & 0C be used from the table in the link below? HD44780 Commands
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member May 11, 2011 #4 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
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
birdman0_o Active Member May 11, 2011 #5 Thought of that but, if contrast isn't perfect it might look a little funky IMO.
Mickster Well-Known Member Most Helpful Member May 11, 2011 #6 Ian Rogers said: 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 Click to expand... 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."
Ian Rogers said: 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 Click to expand... 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."
V VRL_15 New Member May 11, 2011 #8 i still couldn't make the text blink despite your suggestions Last edited: May 11, 2011
Mickster Well-Known Member Most Helpful Member May 11, 2011 #9 Which type of LCD are you using and can you post your code for review?
C cobra1 New Member May 11, 2011 #10 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)
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)
Mickster Well-Known Member Most Helpful Member May 11, 2011 #11 Is there any merit to the method of simply toggling the contrast supply? Anyone else tried it?
birdman0_o Active Member May 11, 2011 #12 VRL_15 said: i still couldn't make the text blink despite your suggestions Click to expand... Please elaborate.
VRL_15 said: i still couldn't make the text blink despite your suggestions Click to expand... Please elaborate.
Mickster Well-Known Member Most Helpful Member May 11, 2011 #13 birdman0_o said: Please elaborate. Click to expand... ....and clarify which type of LCD you are using, along with the programming language......and your code ;-)
birdman0_o said: Please elaborate. Click to expand... ....and clarify which type of LCD you are using, along with the programming language......and your code ;-)
C cobra1 New Member May 11, 2011 #14 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.
Mickster Well-Known Member Most Helpful Member May 11, 2011 #15 cobra1 said: 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. Click to expand... 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?
cobra1 said: 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. Click to expand... 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?
V VRL_15 New Member May 11, 2011 #16 I am using Assembly language Its a LUMEX LCD LCM-S01602DSF/A Still not figured out the blinking text Last edited: May 11, 2011
V VRL_15 New Member May 11, 2011 #17 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 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
birdman0_o Active Member May 11, 2011 #18 No effect means nothing to us. Please post your complete code. Please use code tags.
V VRL_15 New Member May 11, 2011 #19 i have posted the relevant code i did not save the code i tried using control codes since it didn't work
i have posted the relevant code i did not save the code i tried using control codes since it didn't work
V VRL_15 New Member May 12, 2011 #20 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
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