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 CCS Technical Support

lcd 2nd line
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
sebalitter



Joined: 05 May 2015
Posts: 47

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

PostPosted: Sat Dec 05, 2015 8:18 am     Reply with quote

jeremiah wrote:
In the #defines for the flex_lcd pinout you showed us, you don't have E defined and instead have RW defined with the pin that the schematic shows as going to E.

Here is what you provided:
Code:

In flex_lcd.c the configuration is this (6-pins):

#define LCD_DB4 PIN_D4
#define LCD_DB5 PIN_D5
#define LCD_DB6 PIN_D6
#define LCD_DB7 PIN_D7

//#define LCD_E PIN_E0
#define LCD_RS PIN_E1
#define LCD_RW PIN_E2

//#define USE_LCD_RW 1




Notice LCD_E is commented out and LCD_RW is set to PIN_E2, which is what the schematic says should be tied to LCD_E.



You are TOO MUCH !

Thanks a lot to all PCM programmer jeremiah Ttelmah temtronic !! it works!

This is how the lcd of this schematic should be settled.

Code:


 #define LCD_DB4   PIN_D4
 #define LCD_DB5   PIN_D5
 #define LCD_DB6   PIN_D6
 #define LCD_DB7   PIN_D7

 #define LCD_E     PIN_E2
 #define LCD_RS    PIN_E1
 #define LCD_RW    PIN_E0

 //#define USE_LCD_RW   1
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