affecter texte a une entre digital

bonjour
voila je m'explique
pour continuer dans mon projet je souhaite affecter un texte

for(int i=0; i<16; i++){
pinMode(endA*, OUTPUT);//set output pins (end A)*
pinMode(endB*, INPUT_PULLUP);//set input pins (end B)
_
//-------------------------------------------------------_
_
//pins*_
int endA[16] = {2,4,6,8,10,22,24,26,28,30,32,34,36,38,40,42}; //pins end A
int endB[16] = {3,5,7,9,11,23,25,27,29,31,33,35,37,39,41,43}; //pins endB
//----------------------------
//nompoint[16]= {testa,testb,testc,testd,teste,testf,testg,testh // nom pin
//-----------------------------
[/quote]
donc en 1- j'ai 2,3 et je souhaite par exemple afficher testa
si 8 -26,27 donc testh

voila je fait autrement mais je bloque

#include <Wire.h>
#include <LiquidCrystal_I2C.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal_I2C lcd(0x3f,20,4); //RS,E,D4,D5,D6,D7
//---------------------BIG ECRITURE----------------------
int x = 1;
//-------------------------------------------------------
//pins
int endA[16] = {2,4,6,8,10,22,24,26,28,30,32,34,36,38,40,42}; //pins end A
int endB[16] = {3,5,7,9,11,23,25,27,29,31,33,35,37,39,41,43}; //pins endB
String nom1 = "aze";
String nom2 = "azert";
String nom3 = "azertyu";
//----------------------------
int pSwitch=49;
void setup() {
pinMode(buzzer,OUTPUT);//initialize the buzzer pin as an output
lcd.init(); // initialize the lcd
lcd.backlight();

for(int i=0; i<16; i++){
pinMode(endA*, OUTPUT);//set output pins (end A)*
pinMode(endB*, INPUT_PULLUP);//set input pins (end B)
_
}_
pinMode(pSwitch,INPUT_PULLUP);
_
}_
void loop() {
_
lcd.clear();_
_
lcd.setCursor(3,0);_
_
lcd.print("TESTEUR CISCO"); _
_
lcd.setCursor(0,1);_
_
lcd.print("Appuie BP pour Start");_
_
lcd.setCursor(0,2);_
_
lcd.print("--") ; _
_
lcd.print(x); /// c'est ici le souhiate afficher nom et valeur x*_
* lcd.print("---") ;*
* lcd.setCursor(2,3);*
* lcd.print("suite");*

* if ( digitalRead(pSwitch) == HIGH){ //bouton appuie et anti rebond*
* while(digitalRead(pSwitch) == HIGH);*
* }*
// while(digitalRead(pSwitch))
* {*
* delay(200);*
* } *
* lcd.clear();*

x=x+1;
}
[/quote]
comme ça j'arrive a afficher la valeur x a chaque implusion
mais je souhaite avoir le nom et valuer x exemple si x=1 alors afficher nom1

c'est bon j’ai trouvé

const char *myStrings[16] = {"password",etc.........);
et
lcd.print (myStrings[x]);