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.

What does LCDIN command do ?(PICBASIC)

Status
Not open for further replies.

sami123qa

Newbie level 4
Joined
Aug 21, 2005
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,313
lcdin command read the ram of the lcd
what is exactly in the ram is it the chracters that i sent to the lcd or another thing
canany one help me
 

Re: PICBASIC help

which pic ic are u using?
put lcd commands pic in google u will get hundreds of example...go for
www. rentron .com
 

Re: PICBASIC help

You know that command is only able to when you using MICROCODE STUDIO PRO
version.if you look its help section you see this.

LCDIN {Address,}[Var{,Var...}]

Read LCD RAM at Address and store data to Var. LCDs have RAM onboard that is used for character memory. Most LCDs have more RAM available that is necessary for the displayable area. This RAM can be written using the LCDOUT instruction. The LCDIN instruction allows this RAM to be read. CG (character generator) RAM runs from address $40 to $7f. Display data RAM starts at address $80. See the data sheet for the specific LCD for these addresses and functions. It is necessary to connect the LCD read/write line to a PICmicro pin so that it may be controlled to select either a read (LCDIN) or write (LCDOUT) operation. Two DEFINEs control the pin address:

Code:
DEFINE LCD_RWREG PORTE ' LCD read/write pin port
DEFINE LCD_RWBIT 2 ' LCD read/write pin bit

Some times Ram adresses not same.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top