Cursor position LCD display

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cursor position LCD display

2,909 次查看
Arush08
Contributor I

Hi, I am a student who has recently started using LPC2148 Uc, I was interfacing the Uc with a 16X2 LCD display and I am facing certain problems. I am able to print strings on the first row, however I am unsuccessful in printing a string to the second line, I can see the cursor blinking on the second row, however nothing is printing. I tried printing "Hello" from 0x85, the first letter, i.e. H prints at the desire location, however everything after that is printing in the second row in reverse order. I am attaching the code here, can someone please explain what I am doing wrong,

Thanks

标签 (1)
0 项奖励
回复
2 回复数

2,890 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Can you tell us the part number of your LCD? how do you connect the LCD with the LPC2148?

BR

XiangJun Rong

标记 (1)
0 项奖励
回复

2,872 次查看
Arush08
Contributor I

Hi,

I am using an LCD module based on the HD44780, I am using it in 8 bit mode, connecting an external LCD module with the help of jumpers.

I re wrote the code for the display using the same logic, but this time instead of using IOPIN0 register I used IOSET0 and IOCLR0 to control the GPIO PINs and the display is working absolutely fine. Can you please explain the reason for this behavior.

0 项奖励
回复