Arduinoにおける 文法は標準C言語の と特に変わりはありません。
●Example from Arduino Web Site
[c]
<pre>x += y; // equivalent to the expression x = x + y;
x -= y; // equivalent to the expression x = x – y;
x *= y; // equivalent to the expression x = x * y;
x /= y; // equivalent to the expression x = x / y;
x %= y; // equivalent to the expression x = x % y;
[/c]
[c]
x = 2;
x += 4; // x now contains 6
x -= 3; // x now contains 3
x *= 10; // x now contains 30
x /= 2; // x now contains 15
x %= 5; // x now contains 0
[/c]