Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
| Name | >> (bitwise bit shift right) |
||||
|---|---|---|---|---|---|
| Examples | unsigned int value=4; // 4 = 0000 0100 unsigned int shift=1; value = value >> shift; // 2 = 0000 0010 value >>= shift; // 1 = 0000 0001 |
||||
| Description | The left expressions value is moved right by the number of bits specified by the right expression. | ||||
| Syntax | expression1 >> expression2 |
||||
| Parameters |
|
||||
| Usage | Application | ||||
| Related | & (bitwise AND) &= (bitwise AND and assign) | (bitwise OR) |= (bitwise OR and assign) ^ (bitwise XOR) ˜ (bitwise ones complement) << (bitwise bit shift left) |

