I'm trying to configure a Atmega32 to drive a LCD in 4-bit mode. I took code that was working on my Atmega8 and changed the LCD_hw_h file that defines the pinouts.
The contrast pot and backlight seem to be working but all that displays on a 16x2 is one line of blocks. On a 40x4 display, lines one and three are blocks indicating that only line one is activiated. I know that clock divide by 8 is selected on Avr Studio4 so the only thing that comes to mind as I type would be clock between the two chips. The Atmega32 should be running at 8mhz/8.
On the STK500, if I use a delay of 1 sec between loops, I can see the LED for D14 flashing so quickly it is almost steady. D13 is dim and D12&11 are off. I'm guessing the voltages are not a good indicator of the output.
Before I post a lot of code, any obvious checks? I checked the connections and pin assignments. I suspect it is a software error.