sebalitter
Joined: 05 May 2015 Posts: 47
|
|
Posted: Sat Dec 05, 2015 8:18 am |
|
|
| 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
|
|
|