ใช้ Class String แปลง ผมเขียนโคดตัวอย่างให้ดูตามนี้ครับ
static byte ip[] = {192,168,1,111};
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
String s = String(ip[0]);
Serial.println(s);
delay(1000);
}
//ข้อมูลเพิ่มเติม https://www.arduino.cc/en/Reference/StringConstructor