CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

screen print cleaning
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ertansuluagac



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

View user's profile Send private message Send e-mail

PostPosted: Thu May 14, 2020 1:25 am     Reply with quote

lcd_line=1 in your code give error. Others codes are OK.

Line 231(10,18): Undefined identifier lcd_line
_________________
Es
Ttelmah



Joined: 11 Mar 2010
Posts: 19222

View user's profile Send private message

PostPosted: Thu May 14, 2020 2:58 am     Reply with quote

That is assuming you are using flex_lcd. Doesn't everybody?.

If you are using the CCS LCD driver instead, you will need:

g_LcdX = 0;
g_LcdY = 0;
ertansuluagac



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

View user's profile Send private message Send e-mail

PostPosted: Thu May 14, 2020 4:24 am     Reply with quote

Is it correct?
Code:

         lcd_send_byte (0,2);
         g_LcdX = 0;
         g_LcdY = 0;
         delay_us (1640);

_________________
Es
temtronic



Joined: 01 Jul 2010
Posts: 9108
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu May 14, 2020 5:42 am     Reply with quote

That depends on WHICH LCD driver you are using !! We can't see the rest of your program( 1st 9+- lines at least), to SEE which LCD driver you've added to your program.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group