Reference for Wiring 1.0 (ALPHA) 0017+. If you have a previous version, use the reference included with your software.
If you see any errors or have any comments, let us know.
Name
<< (Bitwise bit shift left)
Examples
unsigned int value=4; // 4 = 0000 0100
unsigned int shift=2;
value = value << shift; // 16 = 0001 0000
value <<= shift; // 64 = 0100 0000
Description
The left expressions value is moved left by the number of bits specified by the right expression.
오른쪽 표현식(변수
또는 상수) 값을 지정한
만큼 왼쪽으로
시프트하여 오른쪽
변수값에 저장합니다.