16x1 Display. Strange behaviour

Hello All.

I have a 16x1 display driven by a hitachi HD44780 Chip. (for the record, I also have a 16x2 LCD display driven by the same chip). I tried the hello world (and other examples), after changing the lcd.begin(16, 2); to lcd.begin(16, 1);. The display just shows the first 8 characters of a line. There is nothing on the second half of the display. All the connections look solid and are exactly like the one here: http://arduino.cc/en/uploads/Tutorial/LCD_bb.png

Any idea what is going on?

I am using the Uno.

Thanks, KS

You've actually got a 8*2 display, but they are one next to the other instead of one over the other. Try lcd.begin(8, 2);

You've actually got a 8*2 display, but they are one next to the other instead of one over the other. Try lcd.begin(8, 2);

And don't forget that you have to reposition the cursor to (0,1) to write the characters on the right side of the screen.

A complete description of this 'strange' but normal behavior can be found by following the [u]LCD Addressing[/u] link at http://web.alfredstate.edu/weimandn.

Don

Don,

Many thanks. That solved it.

KS