You know you can make attachments to a post? Saves posting the code over multiple posts.
Can you explain in more detail about the connections? A standard HD44780 LCD module will have 16 pins.
- Vcc
- Gnd
- D0 to D7 (8 pins)
- RS
- EN
- RW
- Contrast adjust
- Backlight power
- Backlight ground
Your instructions are a bit vague as to which of the 8 shift-register pins go to which pins on the LCD.
And how are you recommending wiring the SS pin of the 595?