Wrong line with lcd.setCursor

userHead ElodieCEMOI 2026-06-24 00:16:15 11 Views0 Replies

Hi,

 

I use a DFR0555 with my Arduino Every board, and a text is displayed on the 2nd line whereas I expect it to be displayed on the 1st line.

 

Here is the code:

  strcpy(active_input, "    Input 2"); 
  lcd.clear(); // clear display
  lcd.setCursor(0,0); // Met le cursor en left top line (0 from 0-15, Ligne 1)
  lcd.print(active_input); 

 

and here is the display:

 

Where is the problem ??

 

Thank you very much,