Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 30, 2024, 06:07:01 06:07


Login with username, password and session length


Pages: [1]
Print
Author Topic: how to creat custom chr for lcd  (Read 6234 times)
0 Members and 1 Guest are viewing this topic.
arash
Active Member
***
Offline Offline

Posts: 111

Thank You
-Given: 2
-Receive: 0


« on: December 07, 2005, 11:57:27 11:57 »

Do you know how can i creat custom chr for lcd?
Logged
meax98
Active Member
***
Offline Offline

Posts: 167

Thank You
-Given: 1376
-Receive: 52


« Reply #1 on: December 07, 2005, 01:32:06 13:32 »

Define character and send it to LCD's CGROM. You have command for that and LCD should be in "WRITE" mode. Read datasheet for HD44780.
Logged
leemarrow
Newbie
*
Offline Offline

Posts: 32

Thank You
-Given: 314
-Receive: 52


« Reply #2 on: December 07, 2005, 02:09:30 14:09 »

go here:
http://www.picbasic.co.uk/forum/showthread.php?p=14672#post14672
Logged
arash
Active Member
***
Offline Offline

Posts: 111

Thank You
-Given: 2
-Receive: 0


« Reply #3 on: December 07, 2005, 07:09:44 19:09 »

Thank you all.I use the tools and make my chr but no chr will apear on lcd (in proteuse)
here is my code in proton

xtal = 4
device = 16f877

DECLARE LCD_DTPIN PORTd.4
DECLARE LCD_enPIN PORTd.3
DECLARE LCD_rsPIN PORTd.2
  print  254,64,0,27,10,14,14,10,27,0     ' Cust Char #0  

  print  254,72,0,4,0,4,4,4,14,0          ' Cust Char #1  

  print  254,80,0,31,21,4,4,4,14,0        ' Cust Char #2  

  print  254,88,0,14,21,21,17,17,0,0      ' Cust Char #3  

  print  254,96,0,3,5,9,31,17,17,0        ' Cust Char #4  

  print  254,104,0,17,17,25,21,19,17,0    ' Cust Char #5
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC