用户工具

站点工具


m:sk:mcu:arduino:serial

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
m:sk:mcu:arduino:serial [2015/11/07 13:19]
admin
m:sk:mcu:arduino:serial [2015/12/06 19:47] (当前版本)
admin 已恢复为旧版 (2015/11/19 16:55)
行 4: 行 4:
  
 ---- ----
 +<code C>
 #include <​stdio.h>​ #include <​stdio.h>​
  
 String inputString = ""; ​        // a string to hold incoming data String inputString = ""; ​        // a string to hold incoming data
 +
 boolean stringComplete = false; ​ // whether the string is complete boolean stringComplete = false; ​ // whether the string is complete
  
行 43: 行 45:
   }   }
 } }
 +</​code>​
 ---- ----
  
 +[[:​sp|另一个例子]]
· 最后更改: 2015/11/07 13:19