Because buf is of the type uint8_t * and when I use lcd.print(but); I get an error saying that I can use this type as an argument for lcd.print.
So, lie to the lcd.print() method.
lcd.print((char *)buf);
Because buf is of the type uint8_t * and when I use lcd.print(but); I get an error saying that I can use this type as an argument for lcd.print.
So, lie to the lcd.print() method.
lcd.print((char *)buf);