Arduino Forum
Documentation correction BitwiseCompoundAnd
Community
Suggestions for the Arduino Project
Michael701
June 11, 2012, 2:47am
1
at the bottom of the page it states:
So if:
myByte = 10101010;
myByte &= B1111100 == B10101000;
This should have a 'B' in the second line
So if:
myByte = B10101010;
myByte &= B1111100 == B10101000;
TCWORLD
June 16, 2012, 11:45am
2
Further more, there is a bit missing, so really it should be either:
So if:
myByte = B10101010;
myByte &= B1111100 == B00101000;
or:
So if:
myByte = B10101010;
myByte &= B11111100 == B10101000;
Related topics
Topic
Replies
Views
Activity
byte description in http://arduino.cc/en/Reference/Byte
Suggestions for the Arduino Project
19
9698
May 6, 2021
confusion with bitwise
Programming
10
1268
May 5, 2021
Arduino UNO -Bitwise
Programming
10
1165
May 5, 2021
[Solved] Binary (B) Word - What gives?
Programming
7
5654
May 5, 2021
working with bitwise
Programming
20
6607
May 5, 2021