Hello
I'm a newbie and I want to change the LCD pins by editing the library files . Since the SD CARD MODULE also uses some of the pins used by the LCD panel . Since SD CARD module pins can't be changed ( SPI ), I thought of changing the default pins of LCD .
**My current LCD to ATMEGA328 pin configuration is as below . **
- LCD RS pin to digital pin 12
- LCD Enable pin to digital pin 11
- LCD D4 pin to digital pin 5
- LCD D5 pin to digital pin 4
- LCD D6 pin to digital pin 3
- LCD D7 pin to digital pin 2
- LCD R/W pin to ground
- 10K resistor:
- ends to +5V and ground
- wiper to LCD VO pin (pin 3)
What I want is as follow,
- LCD RS pin to digital pin 0
- LCD Enable pin to digital pin 1
- LCD D4 pin to digital pin 8
- LCD D5 pin to digital pin 7
- LCD D6 pin to digital pin 6
- LCD D7 pin to digital pin 5
- LCD R/W pin to ground
- 10K resistor:
- ends to +5V and ground
- wiper to LCD VO pin (pin 3)
But digital pin 0 and 1 are marked as RX-0 and TX-1 ; so if it's impossible to use digital pin 0 and 1 for RS and E , even digital pin 9 and 10 is also fine .
Thanks,
Dileesha.