-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