Skip to content

Commit 206d305

Browse files
author
SimonePDA
authored
Merge pull request #213 from per1234/compoundBitwiseAnd-bugs
Fix bugs in compoundBitwiseAnd example code
2 parents 8afccac + 1b4e6ba commit 206d305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Structure/Compound Operators/compoundBitwiseAnd.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ So if:
9696

9797
[source,arduino]
9898
----
99-
myByte = 10101010;
100-
myByte &= B1111100; // results in B10101000
99+
myByte = B10101010;
100+
myByte &= B11111100; // results in B10101000
101101
----
102102

103103
[%hardbreaks]

0 commit comments

Comments
 (0)