My code fragment is
String item[] = {"Hello","How","Where"};
int slot[] = {2,0,0};
i=0;
String t = item[slot[i]];
lcd.write(t); //This gives error
How to eradicate the problem. I am a beginner with ArduinoIDE and microprocessors. Thank You.