Page 1 of 1

need to know

PostPosted: Sat Apr 02, 2011 4:04 pm
by MUHAIMIN
how to build a basic program that display "hello" by using LCD 16x2 and pic 16f877a and have an input. the program is in assembly language....... :?

Re: need to know

PostPosted: Sat Apr 02, 2011 6:27 pm
by Brian Griffin
Hello there.

Sharul Nizam has a good example of operating the HD44780 LCD. Here is his page about the example : http://shahrulnizam.com/pic-lesson-lcd-hd44780/ :D

You can translate the code inside back into assembly - it is pretty straight forward. About displaying the sentences in assembly, you might need to use the indirect addressing mode.

Re: need to know

PostPosted: Thu Apr 07, 2011 9:07 pm
by ober
MUHAIMIN WROTE:how to build a basic program that display "hello" by using LCD 16x2 and pic 16f877a and have an input. the program is in assembly language....... :?


I am not sure whether the example I pointing to you will display "hello" or not, but if you are looking for assembly code for Parallel LCD display, you can refer to one of Cytron DIY project, PR3. It has the example code in Assembly Language and uses parallel LCD. More info visit: http://goo.gl/eaq27

Hope it helps you. :D