-3
我Arduino的代码是:这个arduino代码的输出是什么?
String myString;
void setup() {
// initialize serial and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
myString.reserve(26);
myString = "i=";
myString += "1234";
myString += ", is that ok?";
// print the String:
Serial.println(myString);
}
void loop() {
// nothing to do here
}
*“我= 1234,那好吗?”*,显然。 –
感谢bro .Patrick Trentin – tanvir