Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] LCD Display with PIC16f877a

Status
Not open for further replies.

yuanna

Newbie level 2
Newbie level 2
Joined
Nov 15, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
13
Does _LCD_SECOND_ROW makes the string prints on the second line? and _LCD_FIRST_ROW makes it print on the first line? or other commands are needed? thankyou for the helps provided....
 

Yes. See mikroC PRO PIC Compiler help. Search for LCD in help index. If you want to print string then use LCD_Out(). No need to use _LCD_SECOND_ROW or _LCD_FIRST _ROW.
 

thankyou for the helps, So it doesnt work on MPLAB with hitech c compiler? I need to define the commands myself right?
 

Try the attached LCD code. It is for XC8 and C18 Compiler but for Hi-Tech C Compiler you only have to change the __delay_us() and __delay_ms() functions.
 

Attachments

  • LCD routine.txt
    4.5 KB · Views: 63

hello, if you are using a 16*2 jhd162a lcd then you canuse one more method that send 0x80 as instruction to the lcd that is the start address of the first line and after that you can send 40 bytes to the lcd as data and the second line starting address is 0xc0...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top