Atmega328 LCD LiquidCrystal problem

This is arguably the simplest way of wiring an LCD. It has a supplied sketch but the same wiring will work with the standard library when you've got it working. There are a million (almost) ways of getting these things to work, but theres a lot to get right. It shouldn't make any differnece which chip you're using. I know this works fine with the 328.

http://www.skpang.co.uk/content/view/29/42/