Dear All,
Here my setup ; Arduino Uno , LCD connected with the PCF8574A ( I2C )

I have experiment with the follow sketch:
/*
Scroll
* this sketch scrolls text left when tilted
* text scrolls right when not tilted.
*/
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
const int numRows = 2;
const int numCols = 16;
const char textString[] = " * ArduinoPat * ";
const int textLen = sizeof(textString) -1;
boolean isTilted = false;
LiquidCrystal_I2C lcd(0x38,16,2);
void setup()
{
lcd.init();
lcd.backlight();
lcd.begin(numCols, numRows);
lcd.print(textString);
}
void loop()
{
{
for (int position = 0; position < textLen; position++)
{
lcd.scrollDisplayLeft();
delay(150);
}
}
{
for (int position = 0; position < textLen; position++)
{
lcd.scrollDisplayRight();
delay(150);
}
}
}
In Row one the text scrolls ( that's what i want )
But i will also put text at Row two, but whatever i try , this text will scroll either.
Maby some of you can give me a correct answer , the text will stay at Row two.
Many thanks for reading this topic
Regards ,
ArduinoPat