قابل توجه اونایی که یک کاراکتر از رشته رو در lcd چاپ میشه: کد زیر جواب میده

کد:
#include <Wire.h> 

#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x3f,16,2);  // set the LCD address to 0x27 for a 16 chars and 2 line display
String a="hamid";
void setup()
{
  lcd.init();                      // initialize the lcd 
  
  // Print a message to the LCD.
  lcd.backlight();
  
}

void loop()
{
  
  lcd.clear();
  for(int i=0;i<a.length();i++)
  {
    lcd.write(a[i]);
  }
  delay(100);
}