16x2 LCD

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

16x2 LCD

Postby pic16 » Fri Apr 26, 2013 3:34 pm

Hi, everyone...
i try to learn a bit about LCD 16x2 from this website.
http://patna.sancharnet.in/guria741/pic2lcd/pic2lcd.htm

after burn the hex file to pic16f84a the LCD display all the words in first line
"HELLO WORLD!LINE"
could any expert help to solve for me, how to make "LINE 2" go to second line? :oops:
i'm poor in english and just an electronic hobbyist.
pic16
Amateur
 
Posts: 135
Joined: Tue Jan 04, 2011 2:28 pm
Location: Earth

Re: 16x2 LCD

Postby shahrul » Fri Apr 26, 2013 6:53 pm

You use that asm file at that page? If use assembly language, I don't know because I use C language.
Also, your answer have in the HD44780 datasheet that provided in that website.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: 16x2 LCD

Postby pic16 » Fri Apr 26, 2013 8:13 pm

shahrul WROTE:You use that asm file at that page? If use assembly language, I don't know because I use C language.
Also, your answer have in the HD44780 datasheet that provided in that website.




yes...
my problem is I no programmer at all, I knew nothing about coding, I'm newbie....
I have try to learn but still no ideal what the datasheet said :?
i'm poor in english and just an electronic hobbyist.
pic16
Amateur
 
Posts: 135
Joined: Tue Jan 04, 2011 2:28 pm
Location: Earth

Re: 16x2 LCD

Postby robosang » Sat Apr 27, 2013 8:58 pm

Learn 8-)
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: 16x2 LCD

Postby pic16 » Sun Apr 28, 2013 11:37 pm

robosang WROTE:Learn 8-)


teach me... :mrgreen:


i was confuse about what is .c and .asm?
it 's mean two totally different language with its own program software?
i'm poor in english and just an electronic hobbyist.
pic16
Amateur
 
Posts: 135
Joined: Tue Jan 04, 2011 2:28 pm
Location: Earth

Re: 16x2 LCD

Postby Jonathan Law » Thu May 02, 2013 11:10 pm

pic16 WROTE:
robosang WROTE:Learn 8-)


teach me... :mrgreen:


i was confuse about what is .c and .asm?
it 's mean two totally different language with its own program software?


.asm is file extension for assembly language
.c is c programming file extension
Jonathan Law
Novice
 
Posts: 16
Joined: Tue Feb 26, 2013 10:21 am

Re: 16x2 LCD

Postby pic16 » Fri May 03, 2013 12:35 am

Jonathan Law WROTE:
pic16 WROTE:
robosang WROTE:Learn 8-)


teach me... :mrgreen:


i was confuse about what is .c and .asm?
it 's mean two totally different language with its own program software?


.asm is file extension for assembly language
.c is c programming file extension



what the different of them?
is .C mean coding like C++?
i'm poor in english and just an electronic hobbyist.
pic16
Amateur
 
Posts: 135
Joined: Tue Jan 04, 2011 2:28 pm
Location: Earth


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 32 guests