lcd view only black box in second row

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Re: lcd view only black box in second row

Postby shahrul » Wed Feb 27, 2013 8:02 am

ax2030 WROTE:if i connect the pic direct to the lcd...which part of code that i need to adjust?? which pic pin needed to connect to the lcd...i'm only beginner in this..

This is normal people do, connect LCD pin direct to the PIC pin. You can refer here LCD or search in the google, many have done because this is common.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: lcd view only black box in second row

Postby yonghui » Wed Feb 27, 2013 9:52 am

i think tat black box is on the first row.

download sample code from cytron website also refer to tutorial by cytron:

http://tutorial.cytron.com.my/category/ ... arted/lcd/

go through the tutorial to know bout the lcd.
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: lcd view only black box in second row

Postby ax2030 » Thu Feb 28, 2013 9:36 am

1 more thing i want to ask...what program should i use??
ax2030
Freshie
 
Posts: 6
Joined: Sun Feb 24, 2013 2:27 pm

Re: lcd view only black box in second row

Postby yonghui » Thu Feb 28, 2013 11:04 am

program?
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: lcd view only black box in second row

Postby ax2030 » Thu Feb 28, 2013 6:01 pm

c programming sofwware..
ax2030
Freshie
 
Posts: 6
Joined: Sun Feb 24, 2013 2:27 pm

Re: lcd view only black box in second row

Postby robosang » Thu Feb 28, 2013 9:39 pm

You can use any C programming language that you familiar with. Are you using PIC? If so, you can HI-TECH, this is used by Cytron, most of their example code using HITECH Compiler. You can refer to their SK40C page, they have quite a lot of sample code at the bottom of page. You should try the PIC16F Sample Source Code.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: lcd view only black box in second row

Postby takao21203 » Mon Apr 08, 2013 3:30 pm

I have C code for 4bit mode on my web, with serial register.

The second row has a displacement for the address. The module may become thrown off if you write in other areas.

http://pic.hitechworld.org/pic-microcon ... expansion/
User avatar
takao21203
Discoverer
 
Posts: 111
Joined: Mon Mar 19, 2012 7:52 pm
Location: Ireland, Europe

Previous

Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 24 guests