void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
char Str1[] = {'a', 'b', 'c', 'd', 'e'};
String Str2 = "不该daasdfa";
const char* charTemp1 = Str2.c_str();
String s = charTemp1;
for (int i = 0; i < s.length(); i++) {
Str1[i] = s[i];
}
Serial.println(Str1);
Serial.println(charTemp1);
}
void loop() {
// put your main code here, to run repeatedly:
}