【求助】关于 Arduino 1.0.5 里的 serialEvent() 的问题。
表示和某一年前无人回答的帖子一样的问题,表示在Serial Monitor里输入发送无回应,程序无问题,是什么原因?附上帖子http://www.geek-workshop.com/forum.php?mod=viewthread&tid=4253 话说没人知道吗? 问题在下面这段:
// if the incoming character is a newline, set a flag
// so the main loop can do something about it:
if (inChar == '\n') {
stringComplete = true;
}
先看看你有没有设定newline
页:
[1]