Arduino --structure

Posted anandexuechengzhangzhilu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Arduino --structure相关的知识,希望对你有一定的参考价值。

The elements of Arduino (C++) code.

Further Syntax
#define (define)
#include (include)
/* */ (block comment)
// (single line comment)
; (semicolon)
{} (curly braces)
Arithmetic Operators
% (remainder)
* (multiplication)
+ (addition)
- (subtraction)
/ (division)
= (assignment operator)
Comparison Operators
!= (not equal to)
< (less than)
<= (less than or equal to)
== (equal to)
> (greater than)
>= (greater than or equal to)
Boolean Operators
! (logical not)
&& (logical and)
|| (logical or)
Pointer Access Operators
& (reference operator)
* (dereference operator)
Bitwise Operators
& (bitwise and)
<< (bitshift left)
>> (bitshift right)
^ (bitwise xor)
| (bitwise or)
~ (bitwise not)
Compound Operators
%= (compound remainder)
&= (compound bitwise and)
*= (compound multiplication)
++ (increment)
+= (compound addition)
-- (decrement)
-= (compound subtraction)
/= (compound division)
^= (compound bitwise xor)
|= (compound bitwise or)

以上是关于Arduino --structure的主要内容,如果未能解决你的问题,请参考以下文章

arduino恢复出厂设置

arduino怎么用ks103

arduino遥控怎么匹配

arduino硬件的特点

arduino具体是做啥的?

arduino按键rgb七彩灯切换