need to know

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

need to know

Postby MUHAIMIN » Sat Apr 02, 2011 4:04 pm

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....... :?
MUHAIMIN
Greenhorn
 
Posts: 3
Joined: Sat Mar 19, 2011 9:38 pm

Re: need to know

Postby Brian Griffin » Sat Apr 02, 2011 6:27 pm

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.
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: need to know

Postby ober » Thu Apr 07, 2011 9:07 pm

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
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 1 guest