String str = "CCCP"; byte array[] = str.getBytes(); Serial.println(array); // Prints 'CCCP'
getBytes()