Arduino语法参考:修訂版本之間的差異
從 YFRobotwiki
(→Arduino编程语法参考) |
|||
第 2 行: | 第 2 行: | ||
=== Arduino编程语法参考 === | === Arduino编程语法参考 === | ||
+ | {| border="0" cellpadding="10" width="100%" | ||
+ | |- | ||
+ | |width="33%" valign="top" align="left"| | ||
+ | <font color="orange" size="+1">'''结构'''</font> | ||
+ | *[[setup()]] | ||
+ | *[[loop()]] | ||
+ | <font color="orange" >'''控制结构'''</font> | ||
+ | *[[if]] | ||
+ | *[[if...else]] | ||
+ | *[[for]] | ||
+ | *[[switch case]] | ||
+ | *[[while]] | ||
+ | *[[do...while]] | ||
+ | *[[break]] | ||
+ | *[[continue]] | ||
+ | *[[return]] | ||
+ | *[[goto]] | ||
+ | <font color="orange" >'''扩展语法'''</font> | ||
+ | *[[;(分号)]] | ||
+ | *[[{(大括号)]] | ||
+ | *[[ // ]] | ||
+ | *[[/* */]] | ||
+ | *[[#define]] | ||
+ | *[[#include]] | ||
+ | |width="33%" valign="top" align="left"| | ||
+ | <font color="orange" size="+1">'''变量'''</font> | ||
+ | *[[悬挂减震小车]] | ||
+ | *[[自平衡小车]] | ||
+ | *[[3PI小车车架]] | ||
+ | |width="33%" valign="top" align="left"| | ||
+ | <font color="orange" size="+1">'''函数'''</font> | ||
+ | *[[悬挂减震小车]] | ||
+ | *[[自平衡小车]] | ||
+ | *[[3PI小车车架]] | ||
+ | *[[悬挂减震小车]] | ||
+ | *[[自平衡小车]] | ||
+ | *[[3PI小车车架]] | ||
+ | |} |
2015年6月3日 (三) 17:45的修訂版本
Arduino官方語法參考
Arduino編程語法參考
結構 控制結構 擴展語法 |
變量 |
函數 |