#include<LiquidCrystal.h>
liquidCrystal Lcd(12,11,5,4,3,2);
char fio[]={
"hello",
"world",
};
int numWords=sizeof(fio)/sizeof(fio[0]);
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
randomSeed(analogRead(0));
}
void loop() {
// put your main code here, to run repeatedly:
int randomIndex=random(numWords);
lcd.clear();
lcd.set.Cursor(0,0);
lcd.print(fio[randomIndex]);
delay(2000);
}