LeseLaster:
No code was found...
I don't understand, there is a lot examples inside the LiquidCrystal440.h example.
Here is some...
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); // replace with your PIN configuration
int nRows = 2; // n of LCD's rows
int nColumns = 16; // n of LCD's columns
void setup() {
lcd.clear();
lcd.begin(nColumns, nRows); // 16 ROWS / 2 LINES
}
void loop() {
//======setCursor===
// loop from ASCII 'a' to ASCII 'z':
lcd.home();
int thisLetter = 'a';
// loop over the rows:
for (int thisRow = 0; thisRow < nRows; thisRow++) {
// loop over the columns:
for (int thisCol = 0; thisCol < nColumns; thisCol++) {
// set the cursor position:
lcd.setCursor(thisCol,thisRow);
// print the letter:
lcd.print(thisLetter, BYTE);
thisLetter++;
if (thisLetter > 'z') thisLetter = 'a';
delay(100);
}
}
//========Autoscroll: -- my arch nemesis !
lcd.clear();
// set the cursor to (0,0):
lcd.setCursor(0, 0);
// print from 0 to 9:
lcd.print("Autoscroll");
for (char thisChar = '1'; thisChar < '9'; thisChar++) {
lcd.print(thisChar);
delay(100);
}
// set the cursor to (nColumns,1):
lcd.setCursor(0,1);
lcd.print("Autoscroll");
// set the display to automatically scroll:
lcd.autoscroll();
// print from 0 to 9:
for (int thisChar = 0; thisChar < 10; thisChar++) {
lcd.print(thisChar);
delay(100);
}
// turn off automatic scrolling
lcd.noAutoscroll();
if (nRows>2) {
//========Autoscroll: -- my arch nemesis !
// set the cursor to (0,0):
lcd.setCursor(0, nRows-2);
// print from 0 to 9:
lcd.print("Autoscroll");
for (char thisChar = '1'; thisChar < '9'; thisChar++) {
lcd.print(thisChar);
delay(100);
}
// set the cursor to (nColumns,1):
lcd.setCursor(0,nRows-1);
lcd.print("Autoscroll");
// set the display to automatically scroll:
lcd.autoscroll();
// print from 0 to 9:
for (int thisChar = 0; thisChar < 10; thisChar++) {
lcd.print(thisChar);
delay(200);
}
// turn off automatic scrolling
lcd.noAutoscroll();
}
}