i have usual, or maybe not question
say have 2 types:
00000001
10000001
the overlap right bit being "1" there way detect or compare?
say have 2 types:
00000001
10000001
the overlap right bit being "1" there way detect or compare?
just logical , them together.
a = 00000001
b = 10000001
c = 00000001 logical and
c = & b;
the logical , have 1 wherever both bits bits set in inputs.
pete
a = 00000001
b = 10000001
c = 00000001 logical and
c = & b;
the logical , have 1 wherever both bits bits set in inputs.
pete
Arduino Forum > Using Arduino > Programming Questions > Comparing byte overlap? Say 00000001 vs 10000001
arduino
Comments
Post a Comment