Hello. I am making a project involving a large amount of text and a character LCD display. I am not very good at C, and I am not really an Arduino expert either, but I would like to know how you would make a character LCD display scroll, say if I turned the pot, and how to make it refresh and show a different piece of text when I press a momentary contact switch.
Geek:
The first thing you would have to do is get the display working 'normally'. A good way to do this is to follow the tutorial at http://arduino.cc/en/Tutorial/LiquidCrystal.
Next you would have to learn how to display information at various locations on the display. You use the lcd.setCursor() instruction or the Hitachi 'Set CGRAM address' instruction to do this.
In order to show a different piece of text when you press a momentary contact switch you merely overwrite the old information with the new. You have to be sure and display blanks if your new message is shorter than the original one.
Finally you can explore scrolling. You will need to use the 'Cursor or Display Shift' instruction that is shown on the HD44780 datasheet. The best way to do this exploration is to start with some message on the screen, invoke this instruction one or more times, and see what happens to the message on the screen.
Don