6762| 9
|
[讨论] arduino 打印出来前面有特殊字符的原因 |
void setup() { Serial.begin(115200); //initial the Serial } void loop() { int sensorValue; sensorValue = analogRead(0); //connect Steam sensors to Analog 0 Serial.print("W"); Serial.println(sensorValue); //print the value to serial Serial.write(sensorValue); //send what has been received delay(1000); } 打印出来前面有特殊字符的原因 W1023 ˇW1023 ˇW1022 ˛W1022 ˛W1023 ˇW1022 ˛W1022 ˛W1021 ˝W1012 ÙW1023 ˇ |
hennychen 发表于 2015-2-5 16:06 小白我还是不懂啊 +.+ 大神说清楚一点{:3_59:} |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed