Afficher sur LCD un nombre entier avec un zéro devant (ex: 08)

si printf n'existe pas pour ton lcd il faut utiliser sprintf

Pour afficher (plus exactement convertir en chaine de caractères) deux chiffres: sprintf(buf,"%02d",val);
0: pour dire qu'il faut afficher les 0 d'en tête
2: 2 chiffres
d: décimal (affichage d'un entier)

Ca donne quelquechose de ce genre:

  static char buf1[40], buf2[40];
  sprintf(buf1, "R: %d  code: %d", pos + 1, tempo);
  sprintf(buf2, "D: %02d:%02d  F: %02d:%02d", EEPROM.read(pos + 100), EEPROM.read(pos + 50), EEPROM.read(pos + 200), EEPROM.read(pos + 150));
  afficheLcd(0, 0, buf1, 0, 1, buf2);