lcd

I’ll post it on a lcd

#include <OneWire.h>

OneWire ibutton (2); .

byte buffer[20]; 
void setup(){
 Serial.begin(9600); 
   
}

void loop(){
   
 if (!ibutton.search (buffer)){
    ibutton.reset_search();
    delay(200);
    return;
 }
  
  for (int x = 0; x<8; x++){  
    Serial.print(buffer[x],HEX); 
     Serial.print(" "); 
   }
   Serial.println("\n"); 
   

     
}

Moderator edit: I’m getting really bored adding CODE TAGS to people’s posts.

Did you have a question?

yes I'll post it on a lcd plz

Your question (if such it is) doesn't make a lot of sense - what do the francophones say?

for (int x = 0; x<8; x++){
Serial.print(buffer,HEX);
Serial.print(" ");
What is the change to display the result in an lcd screen ??

Look, I'm sorry the forum isn't motivating enough for you, but do you think you can start posting code that is readable, by using CODE TAGS?

What sort of LCD?

Have you considered looking at the documentation for the LCD library?

ok thanks