// include the library code:
#include <LiquidCrystal.h>
char message[]=("Mecatronica");
int RS=19; //Data/ Instruction select signal
int E=23; //Enable signal
int D4=5; //Data bus line
int D5=4; //Data bus line
int D6=2; //Data bus line
int D7=15; //Data bus line
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
void setup() {
// set up the LCD's number of columns and rows:
pinMode(RS, OUTPUT);
pinMode(E, OUTPUT);
pinMode(D4, OUTPUT);
pinMode(D5, OUTPUT);
pinMode(D6, OUTPUT);
pinMode(D7, OUTPUT);
lcd.begin(16, 2);
}
void loop() {
// set the cursor to column 3, line 0
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(3,0);
// print the number of seconds since reset:
//lcd.print(millis());
for(int i=0;i<=10;i++)
{
lcd.print(message[i]);
delay(200);
}
lcd.setCursor(6,1);
lcd.print("2023");
}