Arduino リファレンス

Arduino
記事内には広告が含まれています。

Functions 関数

Digital I/O デジタルI/O

digitalRead()

digitalWrite()

pinMode()

Math 数学

abs() 

constrain()

map()

max()

min()

pow()

sq()

sqrt()

Bits and Bytes ビット・バイト

bit()

bitClear()

bitRead()

bitSet()

bitWrite()

highByte()

lowByte()

Analog I/O アナログI/O 

analogRead()

analogReadResolution()

analogReference()

analogWrite() 

analogWriteResolution()

Trigonometry 三角関数

cos()

sin()

tan() 

External Interrupts 外部割込み

attachInterrupt()

detachInterrupt()

digitalPinToInterrupt()

Advanced I/O アドバンスドI/O

noTone()

pulseIn()

pulseInLong()

shiftIn()

shiftOut()

tone()

Characters キャラクター

isAlphaNumeric()

isAscii()

isControl()

isDigit()

isGraph()

isHexadecimalDigit()

isLowerCase()

isPrintable()

isPunct()

isSpace()

isUpperCase()

isWhitespace()

Interrupts インターラプト

interrupts()

noInterrupts()

Time タイム

delay()

delayMicroseconds()

micros()

millis()

Random Numbers ランダム数値

random()

randomSeed()

Communication コミュニケーション

SPI

Print

Serial

Stream

Wire 

USB

Keyboard

Mouse

Wi-Fi

Wi-Fi Overview

WiFi Network

IPAddress

WiFiClient

WiFiServer

WiFiUDP

Variables 変数

Constants 定数

Floating Point Constants

HIGH | LOW 

INPUT | INPUT_PULLUP | OUTPUT

Integer Constants

LED_BUILTIN

true | false

Data Types データタイプ

array

bool

boolean

byte

char

double

float

int 

long

short

size_t

string

String()

unsigned char

unsigned int

unsigned long

void

word

Variable Scope & Qualifiers 変数の有効範囲と型修飾子

const

scope

static

volatile

Conversion 変換

byte() 

char()

float()

int()

long()

(unsigned int)

(unsigned long)

word()

Utilities ユーティリティー

PROGMEM

sizeof()

Structure ストラクチャー

Sketch

loop() 

setup()

Arithmetic Operators 算術演算子

+ (addition)

= (assignment operator)

/ (division)

* (multiplication)

% (remainder)

– (subtraction)

Pointer Access Operators ポインタアクセス演算子

* (dereference operator)

& (reference operator)

Control Structure 制御構造/制御フロー

break

continue

do…while

else

for

goto

if

return

switch…case

while

Comparison Operators 比較演算子

== (equal to)

> (greater than)

>= (greater than or equal to)

< (less than)

<= (less than or equal to)

!= (not equal to)

Bitwise Operators ビット演算子

<< (bitshift left)

>> (bitshift right)

& (bitwise AND)

~ (bitwise NOT)

| (bitwise OR)

^ (bitwise XOR)

Further Syntax 追加構文

/* */ (block comment)

{} (curly braces)

#define

#include

; (semicolon)

// (single line comment)

Boolean Operators ブール演算子

&& (logical AND)

! (logical NOT)

|| (logical OR)

Compound Operators 複合代入演算子 / 算術代入演算子

+= (compound addition)

&= (compound bitwise AND)

|= (compound bitwise OR)

^= (compound bitwise XOR)

/= (compound division)

*= (compound multiplication)

%= (compound remainder)

-= (compound subtraction)

— (decrement)

++ (increment)

タイトルとURLをコピーしました