Feb 6, 2012 #1 R ruchi7 Newbie level 2 Joined Jul 7, 2011 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,300 i am trying to test a simple code for displaying data on lcd using pic18f46j11. when i program my controller with this code it initializes well. but the problem is that it considers data as code. for example: if i want to send 'A', it considers its value 41H as DDRAM address and brings the cursor to 2nd position on 2nd line. please help me out asap. View attachment text_lcd.txt
i am trying to test a simple code for displaying data on lcd using pic18f46j11. when i program my controller with this code it initializes well. but the problem is that it considers data as code. for example: if i want to send 'A', it considers its value 41H as DDRAM address and brings the cursor to 2nd position on 2nd line. please help me out asap. View attachment text_lcd.txt
Feb 6, 2012 #2 W wp100 Advanced Member level 6 Joined May 15, 2009 Messages 3,051 Helped 884 Reputation 1,783 Reaction score 733 Trophy points 113 Location Prime Meridian Activity points 0 Hi , Have a look at these lcd tutorials. Also no need to use the ORG on each subroutine. EPE FAQs & Resources PIC Tutorial* Three - LCD Modules
Hi , Have a look at these lcd tutorials. Also no need to use the ORG on each subroutine. EPE FAQs & Resources PIC Tutorial* Three - LCD Modules