NIKO BELLIC
Newbie level 6
- Joined
- Aug 1, 2011
- Messages
- 14
- Helped
- 6
- Reputation
- 12
- Reaction score
- 5
- Trophy points
- 1,283
- Location
- Kansas City, MO
- Activity points
- 1,389
Hi all...
I am a newbie to PIC micros. I've learnt basic tutorials through online which uses assembly code. Now, I just want to display a string on 16x2 LCD using PIC 16F84A. I've googled it for number of times and I found that there is a directive in PIC assembly code called "DT" which can be used to display a string on LCD. I could not understand how to use it, i mean syntax and initialization. Here is the example code which I found...
I am a newbie to PIC micros. I've learnt basic tutorials through online which uses assembly code. Now, I just want to display a string on 16x2 LCD using PIC 16F84A. I've googled it for number of times and I found that there is a directive in PIC assembly code called "DT" which can be used to display a string on LCD. I could not understand how to use it, i mean syntax and initialization. Here is the example code which I found...
Code:
TAB addwf PCL,F ; Move offset to PC lower
DT "PROGRAM TEST RS232 PORT ON CPU PIC16F877 RUN FREQ
10MHz",0X0A,0X0D