Please help with scroll editited...(autoscroll())

Okay I am wanting to make this a bit simpler...

/*
  LiquidCrystal Library - Autoscroll
 
 Demonstrates the use a 16x2 LCD display.  The LiquidCrystal
 library works with all LCD displays that are compatible with the 
 Hitachi HD44780 driver. There are many of them out there, and you
 can usually tell them by the 16-pin interface.
 
 This sketch demonstrates the use of the autoscroll()
 and noAutoscroll() functions to make new text scroll or not.
 
 The circuit:
 * LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 5
 * LCD D5 pin to digital pin 4
 * LCD D6 pin to digital pin 3
 * LCD D7 pin to digital pin 2
 * LCD R/W pin to ground
 * 10K resistor:
 * ends to +5V and ground
 * wiper to LCD VO pin (pin 3)
 
 Library originally added 18 Apr 2008
 by David A. Mellis
 library modified 5 Jul 2009
 by Limor Fried (http://www.ladyada.net)
 example added 9 Jul 2009
 by Tom Igoe 
 modified 22 Nov 2010
 by Tom Igoe
 
 This example code is in the public domain.

 http://www.arduino.cc/en/Tutorial/LiquidCrystal
 */

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(7,8,9,10,11,12);

void setup() {
  // set up the LCD's number of columns and rows: 
  lcd.begin(16,2);
}

void loop() {
  // set the cursor to (0,0):
  lcd.setCursor(0, 0);
  // print from 0 to 9:
  for (int thisChar = 0; thisChar < 1; thisChar++) {
   lcd.print("T");
   delay(500);
   lcd.print("o");
   delay(500);
   lcd.print("d");
   delay(500);
   lcd.print("a");
   delay(500);
   lcd.print("y");
   delay(500);
   lcd.print("'");
   delay(500);
   lcd.print("s");
   delay(500);
   lcd.print(" ");
   delay(500);
   lcd.print("M");
   delay(500);
   lcd.print("e");
   delay(500);
   lcd.print("n");
   delay(500);
   lcd.print("u");
   delay(500);

   
  }

  // set the cursor to (16,1):
  lcd.setCursor(16,1);
  // set the display to automatically scroll:
  lcd.autoscroll();
  // print from 0 to 9:
  for (int thisChar = 0; thisChar < 1; thisChar++) {
    lcd.print("C");
    delay(500);
       lcd.print("h");
   delay(500);
      lcd.print("i");
   delay(500);
      lcd.print("c");
   delay(500);
      lcd.print("k");
   delay(500);
      lcd.print("e");
   delay(500);
      lcd.print("n");
   delay(500);
      lcd.print(" ");
   delay(500);
      lcd.print("S");
   delay(500);
      lcd.print("a");
   delay(500);
      lcd.print("n");
   delay(500);
      lcd.print("d");
   delay(500);
      lcd.print("w");
   delay(500);
      lcd.print("i");
   delay(500);
      lcd.print("t");
   delay(500);
      lcd.print("c");
   delay(500);
      lcd.print("h");
   delay(500);
      lcd.print(" ");
   delay(500);
   
      lcd.print("&");
   delay(500);
   lcd.setCursor(016,0);
      lcd.print("F");
   delay(500); 
      lcd.print("r");
   delay(500);
      lcd.print("i");
   delay(500);
      lcd.print("e");
   delay(500);
      lcd.print("s");
   delay(500);

   
   
  }
  // turn off automatic scrolling
  lcd.noAutoscroll();
  
  // clear screen for the next loop:
  lcd.clear();
}

I wish that you would help me make it to where if i type one variable it will type it out one at at time...
sorry i am just really new to this...

I wish that you would help me make it to where if i type one variable it will type it out one at at time...

Type one variable where?

Type "it" (whatever it is) one what at a time?

Do you mean you want to simulate typewriter on the display so that characters pop up like those on a type writer?

If that is what you want, then we can discuss how to.

From http://arduino.cc/en/Tutorial/LiquidCrystalAutoscroll

autoscroll() moves all the text one space to the left each time a letter is added

I hope you understand that:
(1) The term 'scroll' as used by the Arduino people is called 'shift' by the manufacturer of the LCD controller. The display moves sideways, not up and down.
(2) the phrase 'all the text' means ALL the text. That is, both the first line and the second line will shift each time a letter is added.

Don

Edit: Also - anything that is not going to change once it is displayed should be sent to the LCD controller only once. That typically means doing it in setup(), not loop().

and... There's no 't' in sandwich.

OK, now with floresta's comment and eagle eye, I am guessing this is what you want:
The menu is printed one letter at a time (0.5 second interval). The top line display "Today's menu", one letter at a time.
Then the second line displays sandwich and fries but that's too long so you want the second line to scroll automatically like name of a song played on MP3 player.

Help us out here, is that what you want?

sorry havn't check back here but i want it to print like i am typing it right now ... :slight_smile: thanks peep

but i want it to print like i am typing it right now

Are we supposed to be able to see how you are typing? All hunched over the keyboard like that, we can't see a thing.

You are making arduino type but you are not doing it efficiently. Do you need help on that? As a question asked you are pretty reserved. If you speak a different language, use Google translate. I feel like squeezing the last bit of toothpaste from a tube when I try to get some words from you. :wink:

I feel like squeezing the last bit of toothpaste from a tube when I try to get some words from you.

It's probably that delay between letters. Sooner or later, OP will get to the carriage return... :slight_smile:

PaulS:

I feel like squeezing the last bit of toothpaste from a tube when I try to get some words from you.

It's probably that delay between letters. Sooner or later, OP will get to the carriage return... :slight_smile:

I am a decent squeezer, usually getting every last ounce of my toothpaste squeezing the tube against a table edge :slight_smile: